# FetchFox agent registration

FetchFox lets an agent read pages, crawl sites, and extract structured records through HTTP or MCP.

## Signup offer

The first 100 approved owners receive 100,000 FetchFox credits ($100) each. The total promotional budget is $10,000. One grant per verified owner. Additional agents approved by the same owner share the agent balance. After all grants are issued, registration is still available with zero promotional credits. This separate balance has no payment card or automatic reload.

## Register and get approval

Use the user-claimed service_auth flow. Ask the owner for the email they will verify with FetchFox. Start registration using their email.

```sh
curl -sS https://api.fetchfox.ai/agent/identity \
  -H 'Content-Type: application/json' \
  -d '{"type":"service_auth","login_hint":"owner@example.com"}'
```

Keep claim_token private. Give the owner the exact claim.verification_uri and claim.user_code. They sign in or create a FetchFox account, enter the six-digit code, and approve. The URL and code expire in ten minutes. A pending registration reserves no credits.

## Obtain a bearer token

Poll at the returned interval (five seconds). On authorization_pending, wait before polling again. On slow_down, increase the interval. If the claim expires, start a new registration.

```sh
curl -sS https://api.fetchfox.ai/oauth2/token \
  --data-urlencode 'grant_type=urn:workos:agent-auth:grant-type:claim' \
  --data-urlencode "claim_token=$CLAIM_TOKEN"
```

Save the access_token and identity_assertion from the first successful exchange. The bearer lasts one hour. During the assertion's 24-hour lifetime, exchange it for another token using grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer and assertion. After that, repeat owner approval. Keep both values in your secret store.

## Use the scraping scope

Send Authorization: Bearer with the token to the HTTP API or [MCP](https://fetchfox.ai/docs/mcp). The scraping scope covers Visit, Crawl, Extract, Scrape, the agent wallet balance, and jobs and artifacts owned by that wallet.

```sh
curl -sS https://api.fetchfox.ai/api/credits/balance \
  -H "Authorization: Bearer $ACCESS_TOKEN"
```

Revoke an access token with POST https://api.fetchfox.ai/oauth2/revoke, form field token. For registration support, contact support@fetchfoxai.com.

[Resource metadata](https://api.fetchfox.ai/.well-known/oauth-protected-resource) · [Authorization server metadata](https://api.fetchfox.ai/.well-known/oauth-authorization-server) · [HTTP API](https://fetchfox.ai/docs/api) · [Pricing](https://fetchfox.ai/#pricing)
