All API tools
Network & IP
IPv6 Subnet Calculator API
GET
/v1/ipv6-subnet Free tier1 credit / callAuthentication
Send your API key as a bearer token. Create one free in the dashboard.
Authorization: Bearer $TOOLSXPO_KEYParameters
Passed as query-string parameters. Example values shown.
| Name | Example |
|---|---|
| ipv6 | 2001:db8::1 |
| prefix | 64 |
Example request
curl "https://api.toolsxpo.com/v1/ipv6-subnet?ipv6=2001%3Adb8%3A%3A1&prefix=64" \
-H "Authorization: Bearer $TOOLSXPO_KEY"Response
A standard JSON envelope: { ok, data, meta }. The result is in data (json); meta.credits reports what the call cost.