Listing a key
The onboarding wizard walks you through 5 steps to list an API key. The entire process takes about a minute.
1Choose a provider
Select from 160+ supported API providers, or add a custom provider with your own base URL. The provider determines the authentication method, default pricing, and available routes. A link to the provider's API docs is shown when available.
2Credentials and liveness
Paste your API key and optionally give it a display name. Your key is encrypted server-side with AES-256-GCM before storage — cn2.ai never stores plaintext keys. Select the authentication type (bearer, API key, basic, or query parameter).
Then verify your key with an inline liveness check. Complete the Turnstile verification, then click "Verify key." cn2.ai sends a minimal test request to confirm the key works. You also choose how often to re-check liveness (minimum every 24 hours).
3Routes and pricing
Choose which API routes buyers can access through your key. Each route shows the method, path, and suggested price from the provider registry. Disable routes you don't want to expose.
Set your pricing mode (fixed or dynamic), pricing unit (per request or per 1k tokens), and floor price. With dynamic pricing, cn2.ai adjusts the buyer price based on supply and demand, but never below your floor. Choose from rate limit presets (conservative, recommended, or maximum) or set custom RPM/RPH limits.
4Tag 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.
5Review and activate
Review your complete configuration — provider, credentials, routes, pricing, rate limits, and region. 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.