Skip to main content
Spark API v2 returns errors as problem details, as defined in RFC 9457, with Content-Type: application/problem+json. Use type to identify the error. title summarises the problem type, and detail describes this occurrence. The wording of detail can change, so do not match on it.

Problem types

Each type URI opens the page for that error. The full type URI is https://api.globalwebindex.com/docs/spark-api/problems/ followed by the slug in the table.

Errors that are not problem details

A missing or invalid token (401), an unknown path (404) and a request body over 4 MiB (413) return a JSON object with a message field instead:

Partial failures

Some endpoints report a failure for part of the request inside a successful 200 response, not as an HTTP error: Check these fields on every 200 response.