> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dexpaprika.com/llms.txt
> Use this file to discover all available pages before exploring further.

# The console: keys, usage and billing

> Where to get an API key, rotate it, watch what you have spent, connect an AI client and find your invoices.

Everything account-shaped lives in one place: [console.dexpaprika.com](https://console.dexpaprika.com). Your key, what you have spent this period, the errors your calls returned, the MCP setup for AI clients, and billing.

You do not need it to start. The API answers keyless requests, and a key is what raises the allowance and unlocks any-token streaming. See [pricing](https://dexpaprika.com/api/pricing) for what each tier includes.

<Frame>
  <img src="https://mintcdn.com/coinpaprikaspzoo/CAdFDWYL26W-QZmy/images/console/dashboard.png?fit=max&auto=format&n=CAdFDWYL26W-QZmy&q=85&s=d35fc917232781fbb12152fa654bc10b" alt="Console dashboard showing four summary cards across the top: current plan, usage this period against the monthly cap, autoscaling state, and next billing cycle. Below them a stacked usage-over-time chart for the last 30 days, and two panels listing top endpoints and top API keys by share of calls." width="3388" height="1956" data-path="images/console/dashboard.png" />
</Frame>

## What each section is for

| Section            | What you do there                                                                                                                                     |
| ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Dashboard**      | The one-screen answer to "am I fine?". Current plan, credits spent against the cap, whether autoscaling is on, and when the next billing cycle starts |
| **Usage**          | The same numbers with history: which endpoints you call, how the spend moved day to day                                                               |
| **Error Log**      | What your failed calls actually returned. Start here before assuming the API is down                                                                  |
| **API Keys**       | Reveal, copy, revoke. One active key per account                                                                                                      |
| **MCP & AI Setup** | Ready-made configuration for Claude, Cursor, Cline and anything else that speaks MCP                                                                  |
| **Billing**        | Plan and billing period, the autoscaling switch, credit packs, and invoices with an export                                                            |
| **Notifications**  | Where quota and billing alerts are delivered                                                                                                          |

## Frequently asked

<AccordionGroup>
  <Accordion title="Where do I get an API key?">
    **API Keys** in the sidebar. A key is generated for your account, and there is exactly one active key at a time.

    The same screen shows the base URLs your key is valid for. Free keys authenticate against `https://api.dexpaprika.com` and `https://streaming.dexpaprika.com`. Pro moves you to `https://api-pro.dexpaprika.com` and `https://streaming-pro.dexpaprika.com`.

    That pairing matters: a key sent to the wrong host answers `403 wrong_host` rather than falling back, and the body tells you which host to use.

    <Frame>
      <img src="https://mintcdn.com/coinpaprikaspzoo/CAdFDWYL26W-QZmy/images/console/api-keys.png?fit=max&auto=format&n=CAdFDWYL26W-QZmy&q=85&s=61bca7a86bedf14cabeaa45362b52d12" alt="API Keys screen showing the REST and streaming base URLs with copy buttons, the active key masked with reveal and copy controls, a revoke button, and a quick-start curl example using the Authorization header." width="3384" height="1504" data-path="images/console/api-keys.png" />
    </Frame>
  </Accordion>

  <Accordion title="How do I rotate my key?">
    Revoke the current one, then generate a new one. Both buttons are on the **API Keys** screen.

    Because there is one active key per account, rotation is a break: the old key stops working the moment you revoke it. Have the new key ready to deploy before you press it, and if the key lives in a hosted environment, remember it is usually stored as a secret rather than in the code.
  </Accordion>

  <Accordion title="How do I authenticate a request?">
    Put the key in the `Authorization` header, on its own:

    ```bash theme={null}
    curl "https://api.dexpaprika.com/networks/ethereum/pools/search" \
      -H "Authorization: api_YOUR_KEY_HERE"
    ```

    There is no `Bearer` prefix. `Authorization: Bearer api_...` is rejected with `401`, which is easy to trip over because almost every other API expects the opposite.
  </Accordion>

  <Accordion title="Where are my invoices?">
    **Billing**, at the bottom of the page, with an export control for pulling them out. Until your first payment the section says so rather than sitting empty, so an empty list is not a sign that something failed.

    The same screen carries the rest of the money: your current plan with the period it runs for, the autoscaling switch, and the credit packs.

    The dashboard shows the next billing cycle at a glance. If it reads no active subscription, you are on a free tier and there is nothing to invoice.

    <Frame>
      <img src="https://mintcdn.com/coinpaprikaspzoo/CAdFDWYL26W-QZmy/images/console/billing.png?fit=max&auto=format&n=CAdFDWYL26W-QZmy&q=85&s=f69582a3a22fc6caa8ac0a6ad7ad1ea9" alt="Billing screen showing the current plan card with the monthly allowance, rate limit and billing period plus upgrade buttons, an autoscaling panel with an off switch and a spending-limit slider, three credit pack cards for 5M, 15M and 50M credits, and an invoices section with an export control." width="3398" height="1806" data-path="images/console/billing.png" />
    </Frame>
  </Accordion>

  <Accordion title="What is autoscaling, and how is it different from a credit pack?">
    Both are ways to keep going past your monthly allowance on Pro. They differ in when you decide.

    **Autoscaling** is a switch. Leave it off and the allowance is a hard stop, exactly like a free tier. Turn it on and once the plan is spent, extra credits are bought automatically at \$20 per million, up to a spending limit you set on the same screen. You decide the ceiling once and then stop thinking about it.

    **Credit packs** are bought up front, and they cost less per credit than autoscaling does: 5M for $79, 15M for $199, 50M for \$499. The larger the pack the wider the gap, from roughly a fifth cheaper to about half.

    They combine. A pack sized to what you expect, with autoscaling behind it for the month that surprises you, means you pay the lower rate for the bulk of it and never hit a wall.

    Both are Pro features. On a free tier the controls are visible but inactive.
  </Accordion>

  <Accordion title="How do I know how much I have spent?">
    The dashboard card **Usage this period** is the short answer: credits used against your monthly cap, with the percentage. **Usage** breaks it down over time and by endpoint, so you can see which call is doing the spending.

    One request costs one credit. Batch endpoints charge one credit per item, and each delivered streaming update costs one credit too. See [plan your credit usage](/knowledge-base/credit-usage) for how to size a workload before you build it.
  </Accordion>

  <Accordion title="What happens when I run out of credits?">
    On a free tier the cap is hard: the API answers `402` and the body names the next step for your tier. Nothing is charged, and the allowance refills when the period rolls over. The `resets_at` field in the body tells you when.

    On Pro you can let it keep going. The dashboard calls this **autoscaling**: with it off the cap behaves like the free tier, with it on the overage is charged per additional block up to the monthly spend limit you set. See [error handling](/knowledge-base/error-handling) for the difference between a `402` and a `429`, which is worth getting right in code: a `429` is a per-minute rate limit and is worth retrying, a `402` is the monthly allowance and retrying will not help.
  </Accordion>

  <Accordion title="How do I connect Claude, Cursor or Cline?">
    **MCP & AI Setup** generates the configuration with your key already filled in, for Claude Code, Claude Desktop and any client that takes a JSON config.

    The hosted server speaks two transports. Streamable HTTP, which is what current clients use:

    ```
    https://mcp.dexpaprika.com/streamable-http
    ```

    and SSE, for older clients:

    ```
    https://mcp.dexpaprika.com/sse
    ```

    Authentication is the same `Authorization` header as REST. Full setup per client is in [the hosted MCP guide](/ai-integration/hosted-mcp-server).

    <Frame>
      <img src="https://mintcdn.com/coinpaprikaspzoo/xiu5hHVWoV7jjHxO/images/console/mcp-setup.png?fit=max&auto=format&n=xiu5hHVWoV7jjHxO&q=85&s=e53c2efe3832aa97594f8cdc61764ffd" alt="PLACEHOLDER. MCP and AI Setup screen with a TL;DR panel showing the server URL and Authorization header, then three cards side by side: a terminal command for Claude Code, a one-click install button for Claude Desktop, and a JSON config block for Cursor, Cline and other clients." width="1600" height="900" data-path="images/console/mcp-setup.png" />
    </Frame>
  </Accordion>

  <Accordion title="Do I need an account to try the API?">
    No. Keyless requests work at 200,000 credits a month per IP, with no signup and no card. Registering a free key raises that to 500,000 and lifts the streaming restriction from the [showcase list](/streaming/showcase-streams) to any token we index.
  </Accordion>
</AccordionGroup>
