Skip to main content

API key

Every request must include your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
Get your key at scrapio.dev. The free tier includes 1,000 credits per day with no credit card required.

Example

curl -X POST https://api.scrapio.dev/v1/fetch \
  -H "Authorization: Bearer sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com", "output": ["markdown"]}'

Error responses

StatusCodeCause
401missing_api_keyNo Authorization header was sent.
401invalid_api_keyThe key was not recognised.
402credits_exhaustedYour credit balance is zero.
429daily_credit_cap_exceededYou’ve hit the daily cap for your plan.

Security

  • Store your API key in an environment variable — never commit it to source control.
  • Each API key is scoped to a single tenant. Creating multiple tenants for isolation is not supported at this time.
  • There is no key rotation endpoint in the current release; contact support to rotate a compromised key.