Listing a key
The onboarding wizard walks you through 8 steps to list an API key. The entire process takes about a minute.
1Choose a provider
Select from 50+ supported API providers, or add a custom provider with your own base URL. The provider determines the authentication method, default pricing, and available routes.
2Add your API key
Paste your API key. It is encrypted in your browser using AES-256-GCM before it reaches our servers. cn2.ai never stores or transmits your key in plaintext. Optionally give the key a display name to identify it later in the dashboard.
3Configure routes
Choose which API routes buyers can access through your key. Each route is defined by an HTTP method and path prefix (for example, POST /v1/chat/completions). Disable routes you don't want to expose.
4Set pricing
Choose a pricing unit (per request or per 1k tokens), a pricing mode (fixed or dynamic), and a floor price. With dynamic pricing, cn2.ai adjusts the buyer price based on supply and demand, but never below your floor.
You can also opt into the premium pool here. Premium keys earn 25% more per request but require maintaining a high reliability score.
5Tag a region
Select the region your key operates in. If your API key or data processing is in the EU, choose EU — this ensures only EU buyers are routed to your key, which is required for GDPR compliance. Non-EU sellers typically choose Global.
6Run the liveness check
cn2.ai sends a minimal test request through your key to verify it works. This costs less than $0.001 and checks that the key is valid, the provider is reachable, and the expected response is returned. The baseline latency is recorded.
You also choose how often to re-check liveness (minimum every 24 hours). If a check fails, you are notified immediately.
7Choose a payout method
Select how you want to receive earnings: Stripe (ACH bank transfer), USDC (stablecoin on Base or Polygon), Lightning (Bitcoin), or bank wire. Some methods require identity verification — you can complete this later in settings.
8Review and activate
Review your complete configuration. Once you activate, your key enters the pool and buyers can start using it immediately. You can pause, edit, or remove the key at any time from the dashboard.
Bulk import
If you have multiple keys for the same provider, you can import them all at once using a CSV file. Navigate to Dashboard → Keys → Import CSV.
- Prepare a CSV with one key per row (columns: api_key, display_name)
- Upload the file and fill in the shared configuration (pricing, limits, routes, region)
- cn2.ai runs a liveness check on each key in real time
- Keys that pass are imported immediately; failed keys are reported with the error
Maximum 50 keys per CSV. All keys must be for the same provider.