> For the complete documentation index, see [llms.txt](https://help.rankability.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.rankability.com/api/api-crawler.md).

# Scrape, Crawl, and Extract API

Fetch one page, crawl a bounded site section, or extract structured answers through the public crawler API.

## Scopes and routes

| Action          | Scope                       | Route                |
| --------------- | --------------------------- | -------------------- |
| Scrape one page | `scrape:run`                | `POST /scrape`       |
| Start crawl     | `crawl:run`                 | `POST /crawl`        |
| Poll crawl      | `crawl:run`                 | `GET /crawl/:jobId`  |
| Extract         | `extract:run`               | `POST /extract`      |
| Usage           | `scrape:run` or `crawl:run` | `GET /crawler/usage` |

## Costs

Scrape costs 10 credits per successfully fetched page. Crawl costs 10 per successfully crawled page. Extract costs 50 per successful extraction.

## Quotas

Read the page-quota headers and `/crawler/usage`. A crawl is asynchronous; poll with backoff.

Prefix routes with `https://rankability.com/api/agent/v1`.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.rankability.com/api/api-crawler.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
