# crawlapi

The scrape API agents love. Any URL as clean markdown or JSON. From $0.58 per 1,000 normal pages, pay once, credits never expire, and failed pages cost nothing.

## What you get

- markdown: the page as readable text, code blocks, tables, headings and links intact, and every link of the page in a separate list.
- json: the page’s data — metadata, JSON-LD, embedded state, tables and links.
- Three request fields: url, format, timeout. Nothing else to configure.
- JavaScript pages rendered when they need it, chosen by the service, not by you.
- Honest failures: an error code, a retryable flag and the target status, so an agent can tell retry from give up.

## What it costs

- Most pages are Standard: 1 credit, JavaScript pages and documents included.
- A few sites take far more work to load: their pages are Advanced, at 10 credits, or Premium, at 25 credits.
- We choose the level for each page, starting with the lightest. You pay for the level that returned the page, never for the attempts before it.
- Failed pages, 404s, sign-in walls and sites that charge crawlers cost 0 credits.
- JSON costs the same as markdown.
- Credits never expire.

A normal page averages 1.45 credits, so the $10 Starter pack is about 10,300 pages, $0.97 per 1,000.

## One request

```bash
curl -s https://api.crawlapi.dev/v1/scrape \
  -H "Authorization: Bearer $CRAWLAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com", "format": "markdown"}'
```

```json
{
  "success": true,
  "request_id": "req_1dc0a514d6ee71c4524b",
  "data": {
    "metadata": {
      "title": "Example Domain",
      "description": "",
      "language": "en",
      "status": 200,
      "final_url": "https://example.com/"
    },
    "links": [],
    "markdown": "# Example Domain\n\nThis domain is for use in documentation examples without needing permission. This is not a service; avoid relying on it for testing and monitoring purposes."
  },
  "usage": { "credits": 1, "remaining": 9999 }
}
```

## Elsewhere

- Pricing: https://crawlapi.dev/pricing
- Documentation: https://docs.crawlapi.dev
- Create an account: https://app.crawlapi.dev/sign-up