# Amplevo developer documentation (full)

> Amplevo is a marketplace for AI search visibility. Find the pages ChatGPT, Perplexity, Gemini and Claude cite for buyer questions, book placements on those pages, and track how often AI names the brand every week. REST API: https://app.amplevo.com/api/v1. MCP server: https://app.amplevo.com/api/mcp. OpenAPI: https://amplevo.com/openapi.json. Updated 2026-12-04.

## Product summary

- **Find**: search pages AI engines cite, with which engines cite them and the questions they're cited for. One-off scans of new questions are in the app.
- **Book**: each cited page can have listings. Placement types: inclusion (Added to an article), listicle (Spot in a "best of" list), sponsored (New sponsored article), creator (YouTube mention), review (Review). Publishers set the price.
- **Track**: tracked questions are re-run weekly on all four engines. The visibility report gives the mention rate overall, per engine and per week.
- Money is reserved from the balance at booking and charged once the placement is verified and the 7-day issue window ends. If the publisher declines, doesn't deliver, or the link disappears, the money goes back to the balance.

## Pricing

- No subscription. Free for everyone: marketplace, booking, unlimited workspaces and seats, REST API and MCP server.
- Free: 5 tracked questions per organisation (weekly, all four engines).
- Extra tracking: $0.50 per question per month from the balance. Questions linked to a placement you booked are tracked free.
- Placements: publisher price + 20% fee, shown separately on every quote. 0% on the first placement during early access.
- Balance: prepaid USD, top up from $20 in the app. Error `insufficient_balance` (402) when it can't cover a booking or tracking charge.

## Objects

| Object | ID | What it is |
| --- | --- | --- |
| Workspace | ws_ | One brand or client. Owns questions, orders and its monthly limit. |
| Tracked question | id | A buyer question re-run weekly on all four engines. |
| Cited page | pg_ | A URL AI engines cite, with which engines and for which questions. |
| Listing | <page>.<type> | A bookable placement on a cited page: type, publisher price, turnaround. |
| Quote | q_ | A locked price + brief for one listing. 15-minute expiry, single use. |
| Order | ord_ | A booked quote. Moves through the order states; money reserved until verified. |
| Visibility report | — | Mention rate per engine and per week across tracked questions. |
| Event | evt_ | A webhook delivery: order.<status>, tracking.run_completed, balance.low. |

## Authentication

- REST and MCP: `Authorization: Bearer <key>`. Keys start with `amp_live_` (live) or `amp_test_` (test). Owners and Admins create keys in the app under Settings → Developers. The full key is shown once. Keep it server side.
- Test keys use a separate test balance ($1,000 of test funds), simulated publishers and test orders that move forward on their own. Nothing is charged. Live keys need a confirmed email.
- OAuth sign-in for MCP clients is coming. Today, use an API key.
- Keys can't change keys, limits, billing or payouts. Only a person in the app can.

Scopes:

| Scope | Grants |
| --- | --- |
| read | All GET endpoints: workspaces, pages, listings, orders, questions, reports, balance. |
| track | POST /questions and DELETE /questions/{id}. Extra questions cost $0.50/month from the balance. |
| book | POST /quotes, POST /orders and POST /orders/{id}/cancel. Spends money, always inside the key's limits. |

## Conventions

- Base URL: https://app.amplevo.com/api/v1. JSON in, JSON out. Money is an integer in USD cents (120000 = $1,200.00). Timestamps are ISO 8601 UTC.
- Pagination: list endpoints take `limit` (1–100, default 25) and `cursor`, and return `{ "object": "list", "data": [...], "has_more": bool, "next_cursor": string | null }`.
- Idempotency: `Idempotency-Key` is required on POST /orders. Same key again returns the same order (header `Idempotent-Replayed: true`). Quotes are single use, so a quote can never be booked twice.
- Every response carries `Request-Id`. Quote it in support requests.

## Errors

```json
{
  "error": {
    "code": "over_order_cap",
    "message": "Above this key's max per order.",
    "details": {
      "max_per_order": 100000,
      "total": 117600
    },
    "request_id": "req_vNf7vA1dilJYB9",
    "doc_url": "https://amplevo.com/developers/api#errors"
  }
}
```

| HTTP | code | Meaning |
| --- | --- | --- |
| 400 | invalid_input | Some fields are missing or invalid. |
| 401 | unauthorized | Sign in first. |
| 402 | insufficient_balance | Not enough available balance. |
| 403 | needs_approval | Needs approval by an Admin. |
| 403 | forbidden | You don't have access to this. |
| 404 | not_found | Not found. |
| 409 | invalid_state | This action isn't possible in the order's current state. |
| 422 | over_order_cap | Above this key's max per order. |
| 422 | over_monthly_cap | Above this key's monthly cap. |
| 422 | self_booking | You can't book a site your organisation owns. |
| 422 | not_available | This placement is not available. |
| 422 | over_workspace_limit | Above this client's monthly spending limit. |
| 429 | rate_limited | Too many requests. Try again in a minute. |
| 500 | internal_error | Something went wrong on our side. Retry with backoff. |

## Rate limits

| Limit | Value |
| --- | --- |
| Requests (API and MCP) | 60 / minute per key |
| Tracked questions | 5 free, then $0.50 per question a month |
| Test mode | $1,000 of test funds per organisation |

Headers on every response: `RateLimit-Limit`, `RateLimit-Remaining`, `RateLimit-Reset`. A 429 also carries `Retry-After` (seconds). Retry 429 and 5xx with backoff.

## Endpoints

### GET /workspaces — List workspaces

The brands or clients this key can use. The first one is the key's default.

Scope: `read` · MCP tool: `list_workspaces`

No parameters.

Request:

```bash
curl "https://app.amplevo.com/api/v1/workspaces" \
  -H "Authorization: Bearer $AMPLEVO_API_KEY"
```

Response `200`:

```json
{
  "object": "list",
  "data": [
    {
      "id": "ws_northpay",
      "object": "workspace",
      "name": "Northpay",
      "domain": "northpay.example",
      "category": "Payroll software",
      "default": true,
      "created_at": "2026-09-02T12:00:00.000Z"
    }
  ],
  "has_more": false,
  "next_cursor": null
}
```

### GET /pages — Search cited pages

Pages AI engines cite that you can book. Each page lists its listings (placement type, publisher price, turnaround).

Scope: `read` · MCP tool: `search_pages`

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| q | query | string | no | Words to match in the page title, site, niche or the questions it's cited for. |
| workspace_id | query | string | no | A workspace this key can use. Default: the key's first workspace. |
| engine | query | string | no | chatgpt \| perplexity \| gemini \| claude. |
| min_engines | query | integer | no | 1–4. Only pages cited by at least this many engines. |
| placement_type | query | string | no | inclusion \| listicle \| sponsored \| creator \| review. |
| max_price | query | integer | no | Cents. Only listings at or under this publisher price. |
| niche | query | string | no | Only pages in this niche. |
| brand_present | query | boolean | no | false = only pages that don't name the workspace's brand yet (needs workspace_id). |
| limit | query | integer | no | 1–100. Default 25. |
| cursor | query | string | no | The next_cursor from the previous page. |

Request:

```bash
curl "https://app.amplevo.com/api/v1/pages?q=accounting&min_engines=3&max_price=150000" \
  -H "Authorization: Bearer $AMPLEVO_API_KEY"
```

Response `200`:

```json
{
  "object": "list",
  "data": [
    {
      "id": "pg_011",
      "object": "cited_page",
      "url": "https://ledgerlab.co/best-accounting-software",
      "domain": "ledgerlab.co",
      "title": "Best accounting software for small businesses",
      "publisher": "LedgerLab",
      "kind": "site",
      "niche": "Accounting",
      "cited_by": [
        "chatgpt",
        "perplexity",
        "gemini",
        "claude"
      ],
      "citations_per_month": 2100,
      "questions": [
        "best accounting software for small business",
        "bookkeeping tool for freelancers"
      ],
      "booked_for_workspaces": [],
      "listings": [
        {
          "id": "pg_011.listicle",
          "type": "listicle",
          "price": 98000,
          "fee_rate": 0.2,
          "turnaround_days": 7,
          "currency": "usd"
        },
        {
          "id": "pg_011.review",
          "type": "review",
          "price": 165000,
          "fee_rate": 0.2,
          "turnaround_days": 14,
          "currency": "usd"
        }
      ]
    }
  ],
  "has_more": true,
  "next_cursor": "cur_25"
}
```

### GET /listings/{id} — Retrieve a listing

One bookable placement: type, publisher price, turnaround and the publisher's rules. A listing id is <page id>.<placement type>.

Scope: `read` · MCP tool: `get_listing`

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| id | path | string | yes | Listing ID, e.g. pg_011.listicle. |

Request:

```bash
curl "https://app.amplevo.com/api/v1/listings/pg_011.listicle" \
  -H "Authorization: Bearer $AMPLEVO_API_KEY"
```

Response `200`:

```json
{
  "id": "pg_011.listicle",
  "object": "listing",
  "page_id": "pg_011",
  "page_url": "https://ledgerlab.co/best-accounting-software",
  "type": "listicle",
  "price": 98000,
  "fee_rate": 0.2,
  "currency": "usd",
  "turnaround_days": 7,
  "publisher": {
    "name": "LedgerLab",
    "domain": "ledgerlab.co"
  },
  "cited_by": [
    "chatgpt",
    "perplexity",
    "gemini",
    "claude"
  ],
  "disclosure_label": "Sponsored",
  "refused_categories": [
    "Gambling",
    "Adult",
    "Crypto"
  ],
  "active": true
}
```

### POST /quotes — Create a quote

Lock a price for a listing and attach your brief. A quote lasts 15 minutes, is single use, and says up front whether booking it will wait for an Admin.

Scope: `book` · MCP tool: `quote`

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| listing_id | body | string | yes | The listing to book. |
| brief | body | object | yes | { target_url, product_name?, sentence?, talking_points[]?, topic?, key_points?, notes? }. What fits depends on the placement type. Sent to the publisher. |
| question_ids | body | string[] | no | Tracked questions this placement targets. They are tracked free while it runs. |
| workspace_id | body | string | no | A workspace this key can use. Default: the key's first workspace. |

Request:

```bash
curl -X POST "https://app.amplevo.com/api/v1/quotes" \
  -H "Authorization: Bearer $AMPLEVO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"listing_id":"pg_011.listicle","workspace_id":"ws_ledgerly","brief":{"target_url":"https://ledgerly.example","product_name":"Ledgerly","talking_points":["Month-end close in a day","Built for teams of 1–50"]}}'
```

Response `201`:

```json
{
  "id": "q_CmnYykYauJPSSMO9",
  "object": "quote",
  "listing_id": "pg_011.listicle",
  "workspace_id": "ws_ledgerly",
  "page_url": "https://ledgerlab.co/best-accounting-software",
  "type": "listicle",
  "price": 98000,
  "fee": 19600,
  "fee_waived": false,
  "total": 117600,
  "currency": "usd",
  "requires_approval": true,
  "test": true,
  "expires_at": "2026-12-04T20:36:00.139Z",
  "created_at": "2026-12-04T20:21:00.142Z"
}
```

- fee = 20% of the publisher price (0 on your first placement during early access: fee_waived true).
- Quoting never spends money. The key's max per order and monthly cap are checked here too, so an order that would be refused fails early.

### POST /orders — Book an order

Book a quote. Requires an Idempotency-Key header. Within the key's limits: 201, money reserved from your balance, status awaiting_publisher. Above the key's approval amount: 202, status pending_approval and an approval_url for an Admin.

Scope: `book` · MCP tool: `book` · Idempotency-Key header required

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| Idempotency-Key | header | string | yes | Unique per booking; reuse it only to retry the same booking. A UUID works. |
| quote_id | body | string | yes | An unexpired quote. |

Request:

```bash
curl -X POST "https://app.amplevo.com/api/v1/orders" \
  -H "Authorization: Bearer $AMPLEVO_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"quote_id":"q_CmnYykYauJPSSMO9"}'
```

Response `202`:

```json
{
  "id": "ord_HxjJun1HN6qL6sqe",
  "object": "order",
  "status": "pending_approval",
  "status_label": "Waiting for approval",
  "workspace_id": "ws_ledgerly",
  "page_url": "https://ledgerlab.co/best-accounting-software",
  "type": "listicle",
  "amount": {
    "price": 98000,
    "fee": 19600,
    "total": 117600,
    "refunded": 0,
    "currency": "usd"
  },
  "counter_offer": null,
  "approval": {
    "required": true,
    "status": "pending",
    "approval_url": "https://amplevo.com/app/orders/ord_HxjJun1HN6qL6sqe",
    "approved_at": null
  },
  "created_by": {
    "type": "api_key",
    "key_id": "key_d1qlZYMhPXRkWe8p"
  },
  "live_url": null,
  "verification": null,
  "deadlines": {
    "respond_by": null,
    "due_at": null,
    "fix_by": null,
    "issue_window_ends_at": null,
    "live_until": null
  },
  "timeline": [
    {
      "status": "pending_approval",
      "at": "2026-12-04T20:21:00.621Z",
      "note": "Booked. Waiting for an Admin's approval."
    }
  ],
  "question_ids": [],
  "test": true,
  "created_at": "2026-12-04T20:21:00.546Z",
  "updated_at": "2026-12-04T20:21:00.546Z"
}
```

- Money stays reserved in your balance until the placement is verified live. The publisher is paid after that.
- Retrying with the same Idempotency-Key returns the same order with header Idempotent-Replayed: true.
- Errors: 402 insufficient_balance, 422 over_order_cap / over_monthly_cap / over_workspace_limit / self_booking / not_available, 409 invalid_state (details.reason: quote_used, quote_expired, mode_mismatch).

### GET /orders — List orders

Orders in the key's workspaces, newest first. Test keys see test orders only.

Scope: `read` · MCP tool: `list_orders`

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| workspace_id | query | string | no | A workspace this key can use. Default: the key's first workspace. |
| status | query | string | no | Filter by status (see order states). |
| limit | query | integer | no | 1–100. Default 25. |
| cursor | query | string | no | The next_cursor from the previous page. |

Request:

```bash
curl "https://app.amplevo.com/api/v1/orders?workspace_id=ws_ledgerly&status=verified" \
  -H "Authorization: Bearer $AMPLEVO_API_KEY"
```

Response `200`:

```json
{
  "object": "list",
  "data": [
    {
      "id": "ord_HxjJun1HN6qL6sqe",
      "object": "order",
      "status": "pending_approval",
      "status_label": "Waiting for approval",
      "workspace_id": "ws_ledgerly",
      "page_url": "https://ledgerlab.co/best-accounting-software",
      "type": "listicle",
      "amount": {
        "price": 98000,
        "fee": 19600,
        "total": 117600,
        "refunded": 0,
        "currency": "usd"
      },
      "counter_offer": null,
      "approval": {
        "required": true,
        "status": "pending",
        "approval_url": "https://amplevo.com/app/orders/ord_HxjJun1HN6qL6sqe",
        "approved_at": null
      },
      "created_by": {
        "type": "api_key",
        "key_id": "key_d1qlZYMhPXRkWe8p"
      },
      "live_url": null,
      "verification": null,
      "deadlines": {
        "respond_by": null,
        "due_at": null,
        "fix_by": null,
        "issue_window_ends_at": null,
        "live_until": null
      },
      "timeline": [
        {
          "status": "pending_approval",
          "at": "2026-12-04T20:21:00.621Z",
          "note": "Booked. Waiting for an Admin's approval."
        }
      ],
      "question_ids": [],
      "test": true,
      "created_at": "2026-12-04T20:21:00.546Z",
      "updated_at": "2026-12-04T20:21:00.546Z"
    }
  ],
  "has_more": false,
  "next_cursor": null
}
```

### GET /orders/{id} — Retrieve an order

Status, approval, live URL, checks, deadlines and timeline.

Scope: `read` · MCP tool: `get_order`

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| id | path | string | yes | Order ID, e.g. ord_HxjJun1HN6qL6sqe. |

Request:

```bash
curl "https://app.amplevo.com/api/v1/orders/ord_HxjJun1HN6qL6sqe" \
  -H "Authorization: Bearer $AMPLEVO_API_KEY"
```

Response `200`:

```json
{
  "id": "ord_HxjJun1HN6qL6sqe",
  "object": "order",
  "status": "verified",
  "status_label": "Live and verified",
  "workspace_id": "ws_ledgerly",
  "page_url": "https://ledgerlab.co/best-accounting-software",
  "type": "listicle",
  "amount": {
    "price": 98000,
    "fee": 19600,
    "total": 117600,
    "refunded": 0,
    "currency": "usd"
  },
  "counter_offer": null,
  "approval": {
    "required": true,
    "status": "approved",
    "approval_url": "https://amplevo.com/app/orders/ord_HxjJun1HN6qL6sqe",
    "approved_at": "2026-12-04T21:02:11.000Z"
  },
  "created_by": {
    "type": "api_key",
    "key_id": "key_d1qlZYMhPXRkWe8p"
  },
  "live_url": "https://ledgerlab.co/best-accounting-software#ledgerly",
  "verification": {
    "status": "passed",
    "checks": [
      {
        "kind": "live",
        "result": "pass"
      },
      {
        "kind": "link",
        "result": "pass"
      },
      {
        "kind": "disclosure",
        "result": "pass"
      }
    ]
  },
  "deadlines": {
    "respond_by": null,
    "due_at": null,
    "fix_by": null,
    "issue_window_ends_at": "2026-12-16T15:21:37.000Z",
    "live_until": "2027-12-09T15:21:37.000Z"
  },
  "timeline": [
    {
      "status": "pending_approval",
      "at": "2026-12-04T20:21:00.621Z",
      "note": "Booked. Waiting for an Admin's approval."
    },
    {
      "status": "awaiting_publisher",
      "at": "2026-12-04T21:02:11.000Z",
      "note": "Approved."
    },
    {
      "status": "in_progress",
      "at": "2026-12-05T08:40:00.000Z",
      "note": "Publisher accepted."
    },
    {
      "status": "delivered",
      "at": "2026-12-09T15:21:37.000Z",
      "note": "Live URL submitted."
    },
    {
      "status": "verified",
      "at": "2026-12-09T16:02:00.000Z",
      "note": "Checks passed."
    }
  ],
  "question_ids": [
    "ws_ledgerly_q02"
  ],
  "test": false,
  "created_at": "2026-12-04T20:21:00.546Z",
  "updated_at": "2026-12-09T16:02:00.000Z"
}
```

### POST /orders/{id}/cancel — Cancel an order

Cancel before the publisher accepts (pending_approval, awaiting_publisher or counter_offer). The reserved money goes back to your balance in full.

Scope: `book` · MCP tool: `cancel_order`

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| id | path | string | yes | Order ID. |
| reason | body | string | no | Optional. Shown in Agent activity. |

Request:

```bash
curl -X POST "https://app.amplevo.com/api/v1/orders/ord_HxjJun1HN6qL6sqe/cancel" \
  -H "Authorization: Bearer $AMPLEVO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"reason":"Budget moved to Q1"}'
```

Response `200`:

```json
{
  "id": "ord_HxjJun1HN6qL6sqe",
  "object": "order",
  "status": "cancelled",
  "status_label": "Cancelled",
  "workspace_id": "ws_ledgerly",
  "page_url": "https://ledgerlab.co/best-accounting-software",
  "type": "listicle",
  "amount": {
    "price": 98000,
    "fee": 19600,
    "total": 117600,
    "refunded": 0,
    "currency": "usd"
  },
  "counter_offer": null,
  "approval": {
    "required": false
  },
  "created_by": {
    "type": "api_key",
    "key_id": "key_d1qlZYMhPXRkWe8p"
  },
  "live_url": null,
  "verification": null,
  "deadlines": {
    "respond_by": null,
    "due_at": null,
    "fix_by": null,
    "issue_window_ends_at": null,
    "live_until": null
  },
  "timeline": [
    {
      "status": "pending_approval",
      "at": "2026-12-04T20:21:00.621Z",
      "note": "Booked. Waiting for an Admin's approval."
    }
  ],
  "question_ids": [],
  "test": true,
  "created_at": "2026-12-04T20:21:00.546Z",
  "updated_at": "2026-12-04T20:21:00.546Z"
}
```

- 409 invalid_state once the publisher has accepted.

### GET /questions — List tracked questions

Questions re-run every week on ChatGPT, Perplexity, Gemini and Claude, with the latest result per engine.

Scope: `read` · MCP tool: `list_questions`

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| workspace_id | query | string | no | A workspace this key can use. Default: the key's first workspace. |

Request:

```bash
curl "https://app.amplevo.com/api/v1/questions?workspace_id=ws_northpay" \
  -H "Authorization: Bearer $AMPLEVO_API_KEY"
```

Response `200`:

```json
{
  "object": "list",
  "data": [
    {
      "id": "q_saZgA1xoZwK00m9d",
      "object": "tracked_question",
      "workspace_id": "ws_northpay",
      "text": "best payroll software for startups",
      "active": true,
      "cadence": "weekly",
      "linked_order_id": null,
      "last_run_at": "2026-12-04T20:21:10.250Z",
      "latest": {
        "by_engine": {
          "chatgpt": "absent",
          "perplexity": "absent",
          "gemini": "cited",
          "claude": "cited"
        },
        "mention_rate": 0.5
      },
      "created_at": "2026-12-04T20:21:07.272Z"
    }
  ],
  "has_more": false,
  "next_cursor": null
}
```

### POST /questions — Track a question

Add a question to weekly tracking on all four engines. 5 tracked questions per organisation are free; each extra one is $0.50 a month from your balance, like in the app. Questions linked to a placement you booked are tracked free. The first run is the baseline.

Scope: `track` · MCP tool: `track_question`

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| text | body | string | yes | The question, as a buyer would ask it. |
| workspace_id | body | string | no | A workspace this key can use. Default: the key's first workspace. |

Request:

```bash
curl -X POST "https://app.amplevo.com/api/v1/questions" \
  -H "Authorization: Bearer $AMPLEVO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text":"best payroll software for startups","workspace_id":"ws_northpay"}'
```

Response `201`:

```json
{
  "id": "q_saZgA1xoZwK00m9d",
  "object": "tracked_question",
  "workspace_id": "ws_northpay",
  "text": "best payroll software for startups",
  "active": true,
  "cadence": "weekly",
  "linked_order_id": null,
  "last_run_at": "2026-12-04T20:21:10.250Z",
  "latest": {
    "by_engine": {
      "chatgpt": "absent",
      "perplexity": "absent",
      "gemini": "cited",
      "claude": "cited"
    },
    "mention_rate": 0.5
  },
  "created_at": "2026-12-04T20:21:07.272Z"
}
```

- Paid questions count toward the key's monthly cap. 402 insufficient_balance when the balance can't cover $0.50 for the month.

### DELETE /questions/{id} — Stop tracking a question

Delete a tracked question and its history. Questions linked to a running placement stay.

Scope: `track` · MCP tool: `untrack_question`

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| id | path | string | yes | Tracked question ID. |

Request:

```bash
curl -X DELETE "https://app.amplevo.com/api/v1/questions/q_saZgA1xoZwK00m9d" \
  -H "Authorization: Bearer $AMPLEVO_API_KEY"
```

Response `200`:

```json
{
  "id": "q_saZgA1xoZwK00m9d",
  "object": "tracked_question",
  "deleted": true
}
```

### GET /reports/visibility — Visibility report

How often AI names or cites the brand across tracked questions: overall, per engine and per week. Rates are decimals from 0 to 1.

Scope: `read` · MCP tool: `get_visibility`

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| workspace_id | query | string | no | A workspace this key can use. Default: the key's first workspace. |
| from | query | date | no | YYYY-MM-DD. Default: 8 weeks ago. |
| to | query | date | no | YYYY-MM-DD. Default: today. |
| engine | query | string | no | Limit to one engine. |
| question_id | query | string | no | Limit to one tracked question. |

Request:

```bash
curl "https://app.amplevo.com/api/v1/reports/visibility?workspace_id=ws_northpay" \
  -H "Authorization: Bearer $AMPLEVO_API_KEY"
```

Response `200`:

```json
{
  "object": "visibility_report",
  "workspace_id": "ws_northpay",
  "from": "2026-10-09",
  "to": "2026-12-04",
  "questions": 8,
  "runs": 228,
  "simulated": false,
  "mention_rate": 0.25,
  "change_pts": 27,
  "by_engine": {
    "chatgpt": 0.39,
    "perplexity": 0.25,
    "gemini": 0.14,
    "claude": 0.23
  },
  "series": [
    {
      "week": "2026-10-12",
      "mention_rate": 0.14
    },
    {
      "week": "2026-10-19",
      "mention_rate": 0.18
    },
    {
      "week": "2026-10-26",
      "mention_rate": 0.21
    },
    {
      "week": "2026-11-02",
      "mention_rate": 0.21
    },
    {
      "week": "2026-11-09",
      "mention_rate": 0.25
    },
    {
      "week": "2026-11-16",
      "mention_rate": 0.29
    },
    {
      "week": "2026-11-23",
      "mention_rate": 0.29
    },
    {
      "week": "2026-11-30",
      "mention_rate": 0.41
    }
  ],
  "placements_live": 3
}
```

### GET /balance — Balance and limits

Available and reserved funds, tracking cost, and the limits of the calling key with what is left this month. Agents should call it before booking.

Scope: `read` · MCP tool: `get_balance`

No parameters.

Request:

```bash
curl "https://app.amplevo.com/api/v1/balance" \
  -H "Authorization: Bearer $AMPLEVO_API_KEY"
```

Response `200`:

```json
{
  "object": "balance",
  "currency": "usd",
  "test": false,
  "available": 1842000,
  "reserved": 117600,
  "tracking": {
    "active_questions": 30,
    "free_questions": 5,
    "free_left": 0,
    "monthly_cost": 1150,
    "per_question_month": 50
  },
  "limits": {
    "max_per_order": 150000,
    "monthly_cap": 500000,
    "approval_above": 100000,
    "spent_this_month": 117600,
    "remaining_this_month": 382400,
    "workspaces": [
      "ws_northpay",
      "ws_ledgerly"
    ]
  }
}
```

## Order states

Same states in the API, the buyer app and the seller app.

| Status | Meaning | Next | Webhook |
| --- | --- | --- | --- |
| pending_approval | Above the key's approval amount. Waits for an Owner or Admin in the app. Money reserved. | awaiting_publisher · declined · cancelled | order.pending_approval |
| awaiting_publisher | Money reserved. The publisher has 3 days to accept, decline or propose another price. | in_progress · counter_offer · declined · expired · cancelled | order.awaiting_publisher |
| counter_offer | The publisher proposed another price. Accept or decline it in the app within 3 days. | in_progress · declined · expired | order.counter_offer |
| in_progress | Accepted. The publisher is writing or recording. | draft_review · delivered | order.in_progress |
| draft_review | Sponsored article and review only: a draft waits for your review (2 rounds max). | in_progress · delivered | order.draft_review |
| delivered | Live URL submitted. Checks start. | verifying | order.delivered |
| verifying | Automatic checks: page live, link with rel="sponsored", disclosure, indexable. | verified · needs_fix | order.verifying |
| needs_fix | A check failed. The publisher has 5 days to fix it. | verifying · refunded | order.needs_fix |
| verified | Checks passed. A 7-day issue window is open. | completed · disputed | order.verified |
| completed | Issue window over. You are charged; the publisher is paid. Links stay live 12 months. | removed (if the link disappears) | order.completed |
| disputed | You reported a problem. Amplevo decides within 5 business days. | completed · refunded · partially_refunded | order.disputed |
| declined | The publisher or an Admin declined. Reserved money released to your balance. | (final) | order.declined |
| expired | No answer in time. Reserved money released to your balance. | (final) | order.expired |
| cancelled | Cancelled before the publisher accepted. Full refund to your balance. | (final) | order.cancelled |
| refunded | Refunded in full to your Amplevo balance. | (final) | order.refunded |
| partially_refunded | Part refunded to your Amplevo balance after a dispute. | (final) | order.partially_refunded |
| removed | The link or mention disappeared during the 12-month guarantee and wasn't restored. Pro-rata refund to your balance. | (final) | order.removed |

## Webhooks

One endpoint per organisation (Settings → Developers → Webhook): URL, signing secret, "Send test event", and the last 20 deliveries. Each delivery is a POST with an event:

```json
{
  "id": "evt_7Qa9Lm2Xc81Fz2Pq",
  "object": "event",
  "type": "order.verified",
  "created_at": "2026-12-09T16:02:00.000Z",
  "livemode": true,
  "org_id": "org_brightline",
  "data": {
    "object": {
      "id": "ord_HxjJun1HN6qL6sqe",
      "object": "order",
      "status": "verified",
      "workspace_id": "ws_ledgerly",
      "type": "listicle",
      "page_url": "https://ledgerlab.co/best-accounting-software",
      "amount": {
        "price": 98000,
        "fee": 19600,
        "total": 117600,
        "currency": "usd"
      },
      "created_by_key": "key_d1qlZYMhPXRkWe8p",
      "test": false,
      "updated_at": "2026-12-09T16:02:00.000Z",
      "message": "Checks passed."
    }
  }
}
```

| Event | When |
| --- | --- |
| order.<status> | An order changed status, e.g. order.awaiting_publisher, order.verified, order.refunded. One event per status in the order states table. data.object is the order. |
| tracking.run_completed | The weekly tracking run finished for a workspace. |
| balance.low | The available balance can't cover next month's tracking. |
| webhook.test | Sent by the "Send test event" button. |

- Signature header: `Amplevo-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of "<t>.<raw body>" with your secret>`. Reject if t is more than 5 minutes old.
- Respond 2xx within 10 seconds. Failed deliveries are retried after 1, 5, 30, 120 and 720 minutes (6 attempts). Deduplicate on event id.

```ts
import crypto from "node:crypto";

// Use the raw request body, not re-serialised JSON.
export function verifyAmplevo(rawBody: string, header: string, secret: string) {
  const parts = Object.fromEntries(header.split(",").map((p) => p.split("=")));
  const t = Number(parts.t);
  if (!t || Math.abs(Date.now() / 1000 - t) > 300) return false; // 5 min tolerance
  const expected = crypto.createHmac("sha256", secret).update(`${t}.${rawBody}`).digest("hex");
  const a = Buffer.from(expected);
  const b = Buffer.from(parts.v1 ?? "");
  return a.length === b.length && crypto.timingSafeEqual(a, b);
}
```

```python
import hashlib, hmac, time

def verify_amplevo(raw_body: bytes, header: str, secret: str) -> bool:
    parts = dict(p.split("=", 1) for p in header.split(","))
    t = int(parts.get("t", 0))
    if abs(time.time() - t) > 300:  # 5 min tolerance
        return False
    signed = f"{t}.".encode() + raw_body
    expected = hmac.new(secret.encode(), signed, hashlib.sha256).hexdigest()
    return hmac.compare_digest(expected, parts.get("v1", ""))
```

## MCP server

- Endpoint: https://app.amplevo.com/api/mcp (streamable HTTP). Auth: an API key as bearer token. The key's scopes decide which tools are listed.
- Claude Code: `claude mcp add --transport http amplevo https://app.amplevo.com/api/mcp --header "Authorization: Bearer $AMPLEVO_API_KEY"`
- Claude, ChatGPT, Cursor and other clients: add a custom MCP server with the URL https://app.amplevo.com/api/mcp and the header `Authorization: Bearer <key>`:

```json
{
  "mcpServers": {
    "amplevo": {
      "type": "http",
      "url": "https://app.amplevo.com/api/mcp",
      "headers": {
        "Authorization": "Bearer ${AMPLEVO_API_KEY}"
      }
    }
  }
}
```

- Apps that used a key over MCP show under Settings → Developers → Connected apps, with Disconnect (revokes that key).

### Tools

### list_workspaces

Brands or clients this connection can use. The first one is the default.

- Scope: `read` · REST equivalent: `GET /workspaces`
- Annotations: readOnlyHint=true, destructiveHint=false, idempotentHint=true
- Returns: List of workspaces.

```json
{
  "type": "object",
  "properties": {}
}
```

### search_pages

Pages AI engines cite that you can book, with their listings (type, publisher price in cents, turnaround). Filter by text, engine, type, max price.

- Scope: `read` · REST equivalent: `GET /pages`
- Annotations: readOnlyHint=true, destructiveHint=false, idempotentHint=true
- Returns: List of cited pages with listings.

```json
{
  "type": "object",
  "properties": {
    "q": {
      "type": "string",
      "description": "Words to match in the page title, site, niche or questions."
    },
    "workspace_id": {
      "type": "string",
      "description": "Workspace ID. Default: the key's first workspace."
    },
    "engine": {
      "type": "string",
      "description": "Only pages cited by this engine.",
      "enum": [
        "chatgpt",
        "perplexity",
        "gemini",
        "claude"
      ]
    },
    "min_engines": {
      "type": "integer",
      "minimum": 1,
      "maximum": 4
    },
    "placement_type": {
      "type": "string",
      "description": "Only this placement type.",
      "enum": [
        "inclusion",
        "listicle",
        "sponsored",
        "creator",
        "review"
      ]
    },
    "max_price": {
      "type": "integer",
      "description": "Publisher price ceiling in USD cents."
    },
    "brand_present": {
      "type": "boolean",
      "description": "false = only pages that don't name the workspace's brand yet."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "cursor": {
      "type": "string"
    }
  }
}
```

### get_listing

One bookable placement: type, publisher price, turnaround, publisher rules.

- Scope: `read` · REST equivalent: `GET /listings/{id}`
- Annotations: readOnlyHint=true, destructiveHint=false, idempotentHint=true
- Returns: Listing.

```json
{
  "type": "object",
  "required": [
    "listing_id"
  ],
  "properties": {
    "listing_id": {
      "type": "string",
      "description": "e.g. pg_011.listicle"
    }
  }
}
```

### list_orders

Orders, newest first. Filter by workspace or status.

- Scope: `read` · REST equivalent: `GET /orders`
- Annotations: readOnlyHint=true, destructiveHint=false, idempotentHint=true
- Returns: List of orders.

```json
{
  "type": "object",
  "properties": {
    "workspace_id": {
      "type": "string",
      "description": "Workspace ID. Default: the key's first workspace."
    },
    "status": {
      "type": "string",
      "description": "Order status.",
      "enum": [
        "pending_approval",
        "awaiting_publisher",
        "counter_offer",
        "in_progress",
        "draft_review",
        "delivered",
        "verifying",
        "needs_fix",
        "verified",
        "completed",
        "disputed",
        "declined",
        "expired",
        "cancelled",
        "refunded",
        "partially_refunded",
        "removed"
      ]
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "cursor": {
      "type": "string"
    }
  }
}
```

### get_order

Status, live URL, checks, deadlines and timeline of one order.

- Scope: `read` · REST equivalent: `GET /orders/{id}`
- Annotations: readOnlyHint=true, destructiveHint=false, idempotentHint=true
- Returns: Order.

```json
{
  "type": "object",
  "required": [
    "order_id"
  ],
  "properties": {
    "order_id": {
      "type": "string",
      "description": "e.g. ord_HxjJun1HN6qL6sqe"
    }
  }
}
```

### list_questions

Questions re-run weekly on ChatGPT, Perplexity, Gemini and Claude, with the latest result per engine.

- Scope: `read` · REST equivalent: `GET /questions`
- Annotations: readOnlyHint=true, destructiveHint=false, idempotentHint=true
- Returns: List of tracked questions.

```json
{
  "type": "object",
  "properties": {
    "workspace_id": {
      "type": "string",
      "description": "Workspace ID. Default: the key's first workspace."
    }
  }
}
```

### get_visibility

How often AI names or cites the brand: overall, per engine and per week (rates 0–1).

- Scope: `read` · REST equivalent: `GET /reports/visibility`
- Annotations: readOnlyHint=true, destructiveHint=false, idempotentHint=true
- Returns: Visibility report.

```json
{
  "type": "object",
  "properties": {
    "workspace_id": {
      "type": "string",
      "description": "Workspace ID. Default: the key's first workspace."
    },
    "from": {
      "type": "string",
      "description": "YYYY-MM-DD",
      "format": "date"
    },
    "to": {
      "type": "string",
      "description": "YYYY-MM-DD",
      "format": "date"
    },
    "engine": {
      "type": "string",
      "description": "One engine.",
      "enum": [
        "chatgpt",
        "perplexity",
        "gemini",
        "claude"
      ]
    },
    "question_id": {
      "type": "string"
    }
  }
}
```

### get_balance

Available and reserved funds, tracking cost, and this connection's limits (max per order, monthly cap, approval above). Call before booking.

- Scope: `read` · REST equivalent: `GET /balance`
- Annotations: readOnlyHint=true, destructiveHint=false, idempotentHint=true
- Returns: Balance with limits.

```json
{
  "type": "object",
  "properties": {}
}
```

### quote

Lock a price for a listing with a brief. Valid 15 minutes, single use. Returns total (price + 20% fee) and requires_approval. Spends nothing.

- Scope: `book` · REST equivalent: `POST /quotes`
- Annotations: readOnlyHint=false, destructiveHint=false, idempotentHint=false
- Returns: Quote with id, total, expires_at, requires_approval.

```json
{
  "type": "object",
  "required": [
    "listing_id",
    "brief"
  ],
  "properties": {
    "listing_id": {
      "type": "string",
      "description": "Listing to quote."
    },
    "workspace_id": {
      "type": "string",
      "description": "Workspace ID. Default: the key's first workspace."
    },
    "brief": {
      "type": "object",
      "required": [
        "target_url"
      ],
      "properties": {
        "target_url": {
          "type": "string",
          "description": "Page on your site the placement links to."
        },
        "product_name": {
          "type": "string"
        },
        "sentence": {
          "type": "string",
          "description": "One sentence about the brand (added to an article)."
        },
        "talking_points": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "topic": {
          "type": "string"
        },
        "key_points": {
          "type": "string"
        },
        "notes": {
          "type": "string"
        }
      }
    },
    "question_ids": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Tracked questions this placement targets (tracked free while it runs)."
    }
  }
}
```

### book

Book a quote. Money is reserved from the balance until the placement is verified. Status pending_approval means a person must approve it in the dashboard. Pass a new idempotency_key per booking; reuse it only to retry.

- Scope: `book` · REST equivalent: `POST /orders`
- Annotations: readOnlyHint=false, destructiveHint=true, idempotentHint=true
- Returns: Order (status awaiting_publisher, or pending_approval with approval.approval_url).

```json
{
  "type": "object",
  "required": [
    "quote_id",
    "idempotency_key"
  ],
  "properties": {
    "quote_id": {
      "type": "string",
      "description": "From quote."
    },
    "idempotency_key": {
      "type": "string",
      "description": "A UUID. Reuse only to retry the same booking.",
      "minLength": 8,
      "maxLength": 255
    }
  }
}
```

### cancel_order

Cancel before the publisher accepts. Reserved money goes back to the balance.

- Scope: `book` · REST equivalent: `POST /orders/{id}/cancel`
- Annotations: readOnlyHint=false, destructiveHint=true, idempotentHint=true
- Returns: Order with status cancelled.

```json
{
  "type": "object",
  "required": [
    "order_id"
  ],
  "properties": {
    "order_id": {
      "type": "string"
    },
    "reason": {
      "type": "string"
    }
  }
}
```

### track_question

Add a question to weekly tracking. The first 5 per organisation are free, then $0.50 a month each from the balance (counts toward this connection's monthly cap).

- Scope: `track` · REST equivalent: `POST /questions`
- Annotations: readOnlyHint=false, destructiveHint=false, idempotentHint=false
- Returns: Tracked question.

```json
{
  "type": "object",
  "required": [
    "text"
  ],
  "properties": {
    "text": {
      "type": "string",
      "description": "The question."
    },
    "workspace_id": {
      "type": "string",
      "description": "Workspace ID. Default: the key's first workspace."
    }
  }
}
```

### untrack_question

Delete a tracked question and its history. Questions linked to a running placement stay.

- Scope: `track` · REST equivalent: `DELETE /questions/{id}`
- Annotations: readOnlyHint=false, destructiveHint=true, idempotentHint=true
- Returns: { id, deleted: true }

```json
{
  "type": "object",
  "required": [
    "question_id"
  ],
  "properties": {
    "question_id": {
      "type": "string"
    }
  }
}
```

### Booking behaviour

1. Call `get_balance` to read the balance and the key's limits.
2. `quote` a listing. The quote shows total and requires_approval. Quotes expire after 15 minutes.
3. `book` with the quote_id and a new idempotency_key (reuse it only to retry the same booking).
4. Status `awaiting_publisher`: booked, money reserved. Status `pending_approval`: tell the user an Admin must approve it in Amplevo; poll `get_order`. Errors `over_order_cap`, `over_monthly_cap`, `insufficient_balance`: don't retry; tell the user.

## Agent limits

Every API key carries its own limits, set by an Owner or Admin in the app. Example ($2,000/month, $1,500 max per order, approval above $1,000):

```json
{
  "name": "Ledgerly growth agent",
  "mode": "live",
  "scopes": [
    "read",
    "track",
    "book"
  ],
  "workspaces": [
    "ws_ledgerly"
  ],
  "max_per_order": 150000,
  "monthly_cap": 200000,
  "approval_above": 100000
}
```

| Setting | Type | Meaning |
| --- | --- | --- |
| Mode | test \| live | Test keys use $1,000 of test funds and simulated publishers; nothing is charged. Live keys need a confirmed email. |
| Permissions | read · track · book | What the key may do. book covers quote, book and cancel. |
| Workspaces | all \| list | Which brands or clients it can see and spend for. The first one is its default. |
| Max per order | cents | Ceiling for one order total (price + fee). Above it: over_order_cap. |
| Monthly cap | cents | Bookings plus paid tracking added by this key, per calendar month (UTC). Above it: over_monthly_cap. |
| Ask me above | cents | Orders with a total above this wait for an Owner or Admin: status pending_approval. $0 = approve every booking. |

Order of checks on every booking: scope → workspace → total ≤ max per order → spent this month + total ≤ monthly cap → balance → total > approval amount ? pending_approval : awaiting_publisher.

Approval: an Owner or Admin approves or declines the order in the app (link in approval.approval_url). Declined: the reserved money goes back to the balance.

### Agent activity

Every change made through the API or MCP (quote, book, cancel, track, untrack) is logged, including denied ones, and can be exported as CSV in Settings → Developers.

```json
{
  "time_utc": "2026-12-04T20:21:00Z",
  "key": "Ledgerly growth agent",
  "key_prefix": "amp_live_x65M",
  "via": "mcp",
  "action": "order.create",
  "decision": "needs_approval",
  "reason": null,
  "amount_usd": "1176.00",
  "workspace_id": "ws_ledgerly",
  "target": "ord_HxjJun1HN6qL6sqe",
  "mode": "live"
}
```

| Column | Meaning |
| --- | --- |
| time_utc | When it happened. |
| key, key_prefix | Which API key (name and first characters). |
| via | api or mcp. |
| action | quote.create, order.create, order.cancel, question.create, question.delete. |
| decision | allowed, needs_approval or denied. |
| reason | Why it was denied (an error code such as over_monthly_cap). |
| amount_usd | For spending actions. |
| workspace_id, target | Where it happened and which quote, order or question. |
| mode | test or live. |
