- authentication
- Secret API key as a bearer token
- billing
- Free.
One list with its entries in canonical form. A list that belongs to another account answers 404.
Parameters
| name | in | type | description |
|---|---|---|---|
| listIdrequired | path | integer | The list's id from the index. |
Example request
curl https://spaw.co/api/v1/ip/lists/7 \ -H "Authorization: Bearer sk_live_…"
This endpoint has no console on its page. It answers with records from your own account, often by an id only you have, rather than about a value you can type here. The dashboard lists the same rows.
Responses
200The list.
{
"success": true,
"data": {
"list": {
"id": 7,
"name": "Office egress",
"kind": "allow",
"entry_count": 2,
"created_at": "2026-09-12T09:00:00+00:00",
"updated_at": "2026-09-12T09:00:00+00:00",
"entries": [
"203.0.113.0/24",
"2001:db8:10::/48"
]
}
}
}401The key is missing, malformed, or revoked.
{
"success": false,
"error": {
"code": "UNAUTHENTICATED",
"message": "Provide a valid API key as a bearer token.",
"request_id": "req_01m1kgdm4xngzmbmff68g94w0c"
}
}404No such record on this account.
{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "No record with that id on this account.",
"request_id": "req_01m1kgdm4xngzmbmff68g94w0c"
}
}429Over 5 requests per second for the key. Retry after the limit resets.
{
"success": false,
"error": {
"code": "RATE_LIMITED",
"message": "Too many requests. Retry after the limit resets.",
"request_id": "req_01m1kgdm4xngzmbmff68g94w0c"
}
}Error codes
Failures answer { success: false, error: { code, message, request_id } }. Each code has its own page.