---
title: "Create a Quicknode subscription and RPC endpoint autonomously"
method: POST
path: "/api/v1/agent/subscriptions"
tags: ["agent-subscriptions"]
---

# Create a Quicknode subscription and RPC endpoint autonomously

`POST /api/v1/agent/subscriptions`

POST with no `plan_name` (or no body) to receive HTTP 402 with payment requirements (x402 or MPP) listing all plans and prices. After payment via the PAYMENT-SIGNATURE header (x402 v2) or Authorization: Payment header (MPP), returns a QN_* API key. No human signup required. See https://www.quicknode.com/agents/create-endpoint.md for the full walkthrough.

## Request body

- object
  - `plan_name` 'b6_build' | 'b6_accelerate' | 'b6_scale' | 'b6_business', required — Omit to receive a 402 listing all plans and prices.
  - `interval` 'monthly' | 'yearly'
  - `email` string, email, required
  - `password` string, required — 8–64 chars, with at least 1 lowercase, 1 uppercase, 1 number, 1 special character.
  - `password_confirmation` string, required
  - `full_name` string, required
  - `name` string, required — Account display name.
  - `billing_address` object, required
    - `line1` string, required
    - `city` string, required
    - `postal_code` string, required
    - `country` string, required — ISO-3166 alpha-2 (e.g. US, GB).

## Response `200`

Subscription created; QN_* API key returned.

- SubscriptionResult
  - `api_key` string, required — Full platform API key. Provides access to RPC, Streams, Webhooks, SQL Explorer, and KV Store.
  - `plan` string
  - `admin_api_docs` string, uri

## Other responses

- `402` — Payment Required. Body lists x402 and MPP accepts.

---

[API](https://skmtc.dev/quicknode/apis/quicknode-agent-api.md) · [All operations](https://skmtc.dev/quicknode/apis/quicknode-agent-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/quicknode/quicknode-agent-api/revisions/dfb483c5f33e/schema)
