API use cases and integration patterns
Choose the correct Rankability API workflow and design reliable content, research, reporting, audit, and crawler integrations.
Choose an API surface based on the result you need. Similar-looking Rankability operations can have different scopes, usage impact, execution time, and outputs.
Choose the right surface
Section titled “Choose the right surface”| You need to… | Use | Execution model |
|---|---|---|
| Discover and cluster keyword opportunities | Researcher API | Asynchronous job |
| Score an existing page against search competitors | Optimize API | Synchronous analysis |
| Audit one page with scored findings and gates | Page Auditor API | Asynchronous audit |
| Crawl a site and inventory technical issues | Site Auditor API | Asynchronous project crawl |
| Fetch one page without a complete site audit | Scrape API | Synchronous fetch |
| Crawl a bounded set of pages for raw page data | Crawl API | Asynchronous bounded crawl |
| Ask a grounded question or extract fields | Extract API | Synchronous extraction |
| Read tracking data for dashboards | Tracker API | Read requests |
| Run a one-time prospect visibility report without a workspace | Prospect reports API | Asynchronous report |
| Create optimized content | Copywriter jobs | Asynchronous content job |
Keyword-research workflow
Section titled “Keyword-research workflow”- Create a key with
researcher:runandresearcher:read. - Submit one to 20 topics and the appropriate research mode.
- Store the returned
job_idand whether the response was cached. - Poll until
completed,empty, orfailed. - Use the completed result directly, or separately read saved Researcher projects.
Do not assume creating an API research job automatically creates a saved Researcher project. See Researcher API.
Tracking and dashboard workflow
Section titled “Tracking and dashboard workflow”Start read-only. A dashboard normally needs only reporter:read:
- List projects.
- Read project detail for SPI and current platform coverage.
- Read results using the default
latest_per_platformsnapshot. - Read trends for completed and partial terminal runs.
- Use the organization or brand summary only when its aggregation matches the report you are building.
Add reporter:run only if the integration must trigger scans. Add reporter:write only if it must create, change, or delete projects. These legacy scope names authorize Tracker. Read Tracker API onboarding before automating scans.
Audit workflow
Section titled “Audit workflow”Use Page Auditor when one URL and target keyword need scored page-level recommendations. Use Site Auditor when a domain needs a multi-page crawl, issue inventory, and page evidence.
For Site Auditor:
- Estimate the crawl’s pooled usage impact.
- Create the project, which starts the first crawl.
- Poll the project until a terminal state.
- Read its pages and issues.
- Cancel before deleting an in-progress crawl.
Site Auditor and the bounded Crawler API are not interchangeable. Site Auditor produces audit issues and summary metrics; Crawl returns crawler job pages and fetch diagnostics.
Fetch and extraction workflow
Section titled “Fetch and extraction workflow”Use Scrape when you need one fetched page with SEO/AEO data. Use Crawl for a bounded, same-domain collection. Use Extract when you need a grounded answer, relevant passages, or caller-defined fields from a URL, an existing crawler page, or supplied content.
Check /crawler/usage before large jobs. A crawl reserves its maximum page budget against the daily page quota; that page quota is separate from the account’s pooled usage windows.
Reliability pattern
Section titled “Reliability pattern”For every integration:
- Use a separate least-privilege key.
- Record
X-Request-Idand limit headers. - Send
Idempotency-Keywhere supported. - Persist returned IDs before polling.
- Back off polling and stop at terminal states.
- Distinguish a missing result from a failed or still-running job.
- Confirm usage and partial-result behavior before retrying.
- Require the human review appropriate to generated content or high-impact actions.
Returned headers are authoritative. Integrations should not encode plan names or assumed limits.
Review Authentication and API scopes and API usage, rate limits, and errors before moving an integration into production.
