Get a Discovery scan | Rankhog Docs

API Reference

Get a Discovery scan

Read saved Discovery searches, observed result positions and resulting opportunities. Historical scans may contain only partial evidence.

Server URLhttps://api.rankhog.com/

POST

``/agent/v1/growth/get-discovery-scan

Send

Authorization

Body

Read saved Discovery searches, observed result positions and resulting opportunities. Historical scans may contain only partial evidence. Positions are provider placement, not independently verified Google rankings. Cache policy: live. Idempotency: none. Auth modes: api_key, mcp_oauth, session_bearer.

Authorization

apiKeyAuth

AuthorizationBearer

Rankhog organization API key sent as Authorization: Bearer rhog_....

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Copy

organizationId*string

Length1 <= length <= 160

websiteId*string

Length1 <= length <= 160

scanId*string

Length1 <= length <= 100

Response Body

200 application/json

400 application/json

401 application/json

403 application/json

404 application/json

cURL

JavaScript

Go

Python

Java

C#

curl -X POST "https://api.rankhog.com/agent/v1/growth/get-discovery-scan" \
  -H "Authorization: Bearer " \
  -H "Content-Type: application/json" \
  -d '{
    "organizationId": "org_demo",
    "websiteId": "site_demo",
    "scanId": "scan_demo"
  }'

200400401403404

{
  "scan": {
    "id": "scan_demo",
    "outcome": "empty",
    "trigger": "scheduled",
    "scheduledFor": "2026-09-16T13:00:00Z",
    "startedAt": null,
    "finishedAt": null
  },
  "searches": [],
  "candidates": [],
  "opportunities": []
}
{
  "error": {
    "code": "agentic_invalid_input",
    "message": "Invalid capability input."
  }
}
{
  "error": {
    "code": "agentic_unauthorized",
    "message": "Authentication is required."
  }
}
{
  "error": {
    "code": "agentic_missing_scope",
    "message": "The required permission has not been granted."
  }
}

agentic_website_not_found

{
  "error": {
    "code": "agentic_website_not_found",
    "message": "Product not found."
  }
}

agentic_discovery_scan_not_found

Steer DiscoveryPOST\ \ Update Discovery direction without restarting the session. Cache policy: live. List Discovery scansPOST\ \ Inspect recent Discovery scan outcomes, including when product billing is inactive.