curl "https://api.pinakelai.com/v1/jurisdictions/AD" \
-H "Authorization: Bearer $PINAKEL_API_KEY"
import os
import requests
resp = requests.get(
"https://api.pinakelai.com/v1/jurisdictions/AD",
headers={"Authorization": f"Bearer {os.environ['PINAKEL_API_KEY']}"},
timeout=30,
)
resp.raise_for_status()
register = resp.json()
const res = await fetch("https://api.pinakelai.com/v1/jurisdictions/AD", {
headers: { Authorization: `Bearer ${process.env.PINAKEL_API_KEY}` },
});
const register = await res.json();
{
"code": "AD",
"name": "Andorra",
"state": "available",
"record_count": 49376,
"live_record_count": 31204,
"earliest_application_year": 1996,
"latest_application_year": 2026,
"last_checked_at": "2026-12-01T02:10:44.120000Z",
"last_changed_at": "2026-12-01T02:31:09.004000Z",
"feed_published_through": "2026-12-01T02:31:09.004000Z",
"update_frequency": "daily"
}
{
"type": "https://docs.pinakelai.com/errors/not-found",
"title": "Not found",
"status": 404,
"detail": "No jurisdiction with code XX.",
"request_id": "req_01M7Q41J0K1M2N3P4Q5R6S7T8V"
}
Jurisdictions
Retrieve a jurisdiction
One register’s state, size and freshness.
GET
/
v1
/
jurisdictions
/
{code}
curl "https://api.pinakelai.com/v1/jurisdictions/AD" \
-H "Authorization: Bearer $PINAKEL_API_KEY"
import os
import requests
resp = requests.get(
"https://api.pinakelai.com/v1/jurisdictions/AD",
headers={"Authorization": f"Bearer {os.environ['PINAKEL_API_KEY']}"},
timeout=30,
)
resp.raise_for_status()
register = resp.json()
const res = await fetch("https://api.pinakelai.com/v1/jurisdictions/AD", {
headers: { Authorization: `Bearer ${process.env.PINAKEL_API_KEY}` },
});
const register = await res.json();
{
"code": "AD",
"name": "Andorra",
"state": "available",
"record_count": 49376,
"live_record_count": 31204,
"earliest_application_year": 1996,
"latest_application_year": 2026,
"last_checked_at": "2026-12-01T02:10:44.120000Z",
"last_changed_at": "2026-12-01T02:31:09.004000Z",
"feed_published_through": "2026-12-01T02:31:09.004000Z",
"update_frequency": "daily"
}
{
"type": "https://docs.pinakelai.com/errors/not-found",
"title": "Not found",
"status": 404,
"detail": "No jurisdiction with code XX.",
"request_id": "req_01M7Q41J0K1M2N3P4Q5R6S7T8V"
}
One register’s state, size and freshness. The fields are those of List jurisdictions; an unknown code gets 404
not-found.
curl "https://api.pinakelai.com/v1/jurisdictions/AD" \
-H "Authorization: Bearer $PINAKEL_API_KEY"
import os
import requests
resp = requests.get(
"https://api.pinakelai.com/v1/jurisdictions/AD",
headers={"Authorization": f"Bearer {os.environ['PINAKEL_API_KEY']}"},
timeout=30,
)
resp.raise_for_status()
register = resp.json()
const res = await fetch("https://api.pinakelai.com/v1/jurisdictions/AD", {
headers: { Authorization: `Bearer ${process.env.PINAKEL_API_KEY}` },
});
const register = await res.json();
{
"code": "AD",
"name": "Andorra",
"state": "available",
"record_count": 49376,
"live_record_count": 31204,
"earliest_application_year": 1996,
"latest_application_year": 2026,
"last_checked_at": "2026-12-01T02:10:44.120000Z",
"last_changed_at": "2026-12-01T02:31:09.004000Z",
"feed_published_through": "2026-12-01T02:31:09.004000Z",
"update_frequency": "daily"
}
{
"type": "https://docs.pinakelai.com/errors/not-found",
"title": "Not found",
"status": 404,
"detail": "No jurisdiction with code XX.",
"request_id": "req_01M7Q41J0K1M2N3P4Q5R6S7T8V"
}
Authorizations
Your API key: Authorization: Bearer pk_live_... (or pk_test_...).
Path Parameters
Register code as listed by GET /v1/jurisdictions, e.g. CH.
Response
Successful Response