REST API

Read your project's visibility, prompts, citations and traffic as JSON.

The REST API lets your own dashboards, warehouse jobs and scripts read the same data you see in EchoRanked. It's read-only and returns JSON.

Use it to:

  • pull share of voice into a BI tool or a weekly board deck
  • sync findings into your ticket tracker
  • alert on a rival overtaking you, from your own stack

If you want an AI assistant to read your data, you don't need to write code: connect the MCP server instead.

Project settings › Data access: your REST API keys, the OpenAPI spec and an example request.

Get a key#

  1. 1
    Open Data access

    Project settings › Data access. Only the project owner can mint keys.

  2. 2
    Create a key

    Name it after what will use it, e.g. Looker sync. Copy it now — it's shown once.

Warning — Keep the key on your server. Don't put it in browser code or a mobile app. If it leaks, revoke it — the revoke takes effect within a minute.

Send your first request#

curl "https://echoranked.com/api/v1/projects/9b1c2f7e-4a0d-4d61-8a3e-2f5c7d1e0b42/visibility?from=2026-09-02&to=2026-10-01" \
  -H "Authorization: Bearer erk_api_3kq9ZpT1xv8LmN2b"

Response

{
  "data": {
    "brand_name": "Northwind CRM",
    "latest": {
      "visibility": { "value": 0.34, "low": 0.25, "high": 0.44, "n": 40 },
      "citation_rate": { "value": 0.21, "low": 0.13, "high": 0.31, "n": 40 }
    },
    "by_engine": [
      {
        "engine": "openai_websearch",
        "label": "ChatGPT",
        "surface": "consumer",
        "visibility": { "value": 0.41, "low": 0.27, "high": 0.56 },
        "answered": 40
      }
    ]
  },
  "meta": {
    "project_id": "9b1c2f7e-4a0d-4d61-8a3e-2f5c7d1e0b42",
    "window": { "from": "2026-09-02", "to": "2026-10-01" },
    "generated_at": "2026-10-02T09:00:00.000Z"
  }
}

Note — Every response is { data, meta }. A rate is { value, low, high, n }, and every engine row carries its surface. See Endpoints.

Related