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

# Upgrade to Pro

> Create a Stripe Checkout session to upgrade to the Pro tier ($49/mo). Returns a URL to redirect the user to Stripe's hosted checkout page. Requires a valid API key on the Free tier.

Create a Stripe Checkout session to upgrade your API key to the **Pro tier** (\$49/mo).

<Card title="Upgrade to Pro — $49/mo" icon="rocket" href="https://app.eventgraph.ai/pricing">
  Prefer a UI? Click here to go to the pricing page and upgrade with one click — no API key needed upfront.
</Card>

## How it works

1. Call this endpoint with your free-tier API key
2. You'll receive a `checkout_url` — open it in a browser
3. Complete payment on Stripe's secure checkout page
4. Your API key is **automatically upgraded** to Pro within seconds

## What you get with Pro

| Feature                 | Free   | Pro (\$49/mo) |
| ----------------------- | ------ | ------------- |
| Markets, Events, Search | ✅      | ✅             |
| Arbitrage Scanner       | ❌      | ✅             |
| Cross-Platform Compare  | ❌      | ✅             |
| Usage Analytics         | ❌      | ✅             |
| Daily limit             | 1,000  | 50,000        |
| Monthly limit           | 10,000 | 500,000       |
| Rate limit              | 30/min | 300/min       |

## Example

```bash theme={null}
curl -X POST "https://app.eventgraph.ai/api/v1/checkout" \
  -H "X-API-Key: eg_live_your_key_here"
```

```json theme={null}
{
  "data": {
    "checkout_url": "https://checkout.stripe.com/c/pay/cs_live_...",
    "session_id": "cs_live_..."
  },
  "meta": {
    "message": "Redirect to checkout_url to complete payment."
  }
}
```

<Note>
  After successful payment, all API keys associated with your email are automatically upgraded to Pro. No manual steps required.
</Note>


## OpenAPI

````yaml POST /api/v1/checkout
openapi: 3.0.3
info:
  title: EventGraph API
  description: >-
    Unified prediction market data across Polymarket, Kalshi, Limitless, and
    OpinionTrade.
  version: 1.0.0
  contact:
    name: EventGraph
    url: https://eventgraph.ai
    email: info@eventgraph.ai
servers:
  - url: https://app.eventgraph.ai
    description: Production
security:
  - ApiKeyAuth: []
paths:
  /api/v1/checkout:
    post:
      tags:
        - Account
      summary: Upgrade to Pro
      description: >-
        Create a Stripe Checkout session to upgrade to the Pro tier ($49/mo).
        Returns a URL to redirect the user to Stripe's hosted checkout page.
        Requires a valid API key on the Free tier.
      operationId: createCheckout
      responses:
        '200':
          description: Checkout session created
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      checkout_url:
                        type: string
                        format: uri
                        description: Redirect the user to this URL to complete payment
                      session_id:
                        type: string
                        description: Stripe session ID for reference
                  meta:
                    type: object
                    properties:
                      message:
                        type: string
        '400':
          description: Already on Pro or Enterprise tier
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: Your EventGraph API key (eg_live_...)

````