NonagonLink — API Provider Guide

A step-by-step guide to selling paid APIs to AI agents and earning USDC


1. What is NonagonLink

NonagonLink is an agentic payment gateway that lets AI agents autonomously pay for APIs with the USDC stablecoin. By registering as an API Provider, you automatically earn USDC revenue on every API call made by AI agents.


2. Getting Started

What you need

  • An invitation code (closed beta — registration is invite-only)
  • An email address
  • The endpoint URL of the API you want to offer

If you would like to participate, please join the waitlist. We will send you the registration page details when you are invited.

Provider Dashboard URL

The Provider Dashboard URL is included in the invitation email we send you.


3. Account Registration

3-1. Open the registration page

Open the registration page provided with your invitation and enter the following:

FieldDescriptionRequired
Email addressUsed for loginRequired
Password8 characters or moreRequired
Password (confirmation)Same value as aboveRequired
Organization nameThe name shown on the marketplace (labeled "Organization name" on the form)Required
Invitation codeIssued by the NonagonLink team. Codes use the NLINK-XXXX-XXXX-XXXX formatRequired
CAPTCHA verificationBot protection via Cloudflare TurnstileRequired
Agree to the Terms of ServiceCheckbox must be checkedRequired

3-2. Store your API Key securely

After successful registration, your API Key (in nlink_sk_xxxxxxxx format) is displayed only once.

  • This API Key will never be shown again
  • Store it in a safe place (such as a password manager)
  • The API Key is used to authenticate with the x402 payment APIs (such as POST /api/payout/*). You log in to the dashboard with your email address and password

4. Login

Log in with your email address and password on the login page we shared with you.

  • Sessions are managed with a JWT cookie
  • Access token lasts 1 hour; refresh token lasts 7 days. The dashboard refreshes an expired access token automatically
  • Forgot your password? Reset it from the "Forgot your password?" link on the login page

5. Creating an API Listing

Register your API from "API Management" → "Register New API" in the dashboard.

5-1. Choosing a Listing type

TypeDescriptionBest suited for
proxyNonagonLink relays your API as a reverse proxyThe simplest option. NonagonLink manages your API Key
x402_directThe Provider implements the x402 protocol themselvesWhen your API already supports x402
flexible_proxyProxies to any URL within an allowed domain listAPIs with multiple endpoints

5-2. Common fields

FieldDescriptionConstraints
API nameShown on the marketplace1–120 characters
CategoryAPI classification (e.g. weather, finance, ai)1–40 characters
Price (USDC)Price per API callSolana listings: 0.001–0.100 USDC / Ethereum listings: range varies by chain and asset
DescriptionDetailed description of the APIUp to 4,000 characters (Optional)
Documentation URLLink to external documentationHTTPS URL (Optional)

5-3. Additional fields for the proxy type

FieldDescriptionConstraints
Endpoint URLBase URL of your APIHTTPS required
HTTP methodGET / POST / PUT / DELETE / PATCHRequired
Auth header nameAuthentication header of the Provider APIe.g. Authorization, X-API-Key
API keyAuthentication key of the Provider APISecurely stored and injected by NonagonLink
Health check URLURL for monitoring API availabilityHTTPS (Optional)
Timeout (seconds)Timeout for API calls5–120 seconds (default: 60)
Request schemaInput definition in JSON Schema format(Optional)

5-4. Automatic OpenAPI schema generation

Click the "Generate Schema" button on the API management screen and AI will automatically generate an OpenAPI schema for your endpoint. The generated schema is attached to the Listing and is referenced by AI agents to understand how to use your API.

5-5. Publishing a Listing

A newly created Listing is inactive (is_active: false). After reviewing its contents, switch it to "Active" from the settings screen. Once active, agents can call and pay for it.

Directory listing is controlled separately by is_listed (default: listed). Turning listing off does not stop the API — agents that already know its URL can still call it, which is useful for private-customer or in-review APIs.


6. Dashboard

6-1. Overview screen

MetricDescription
Total callsTotal number of API calls across all Listings
Total revenueCumulative revenue in USDC
Total feesNonagonLink platform fees
Per-API statisticsCalls and revenue per Listing

6-2. Per-Listing statistics

View detailed performance statistics for each Listing.


7. Payouts

7-1. Checking your balance

ItemDescription
Available balanceUSDC/USD balance available for withdrawal requests
ProcessingAmount currently being withdrawn
Exchange rateCurrent USDC/USD rate

7-2. Withdrawal flow

  1. Enter the withdrawal amount on the "Payouts" page
  2. A NonagonLink administrator approves the request
  3. The transfer to your bank account is executed
  4. You receive a completion notification

Details such as withdrawal methods, currencies, and timing will be announced separately during the closed beta.

7-3. Setting a minimum payout amount

You can set a minimum payout amount (USD) on the payouts page. Withdrawal requests will not be executed until your balance reaches this amount.


8. Settings

8-1. Profile

View your display name and email address.

8-2. API Key management

  • API Key rotation: Issue a new key with the "Regenerate API Key" button
  • After rotation, the old key remains valid during a 24-hour grace period
  • The old key is deactivated after the grace period

8-3. Bank account

Configure the bank account that receives your withdrawals.

8-4. Connecting from AI tools (MCP)

Connect an AI tool such as Claude to NonagonLink to let it read your listings and create listing drafts from an OpenAPI document or a cURL command. The connection uses OAuth, and you enter a two-factor authentication code when you approve it.

Server URL

https://api.nnglink.ai/api/mcp/provider

Before you start

  • Turn on two-factor authentication in the dashboard first. You enter a code from your authenticator app when you approve the connection.
  • During the closed beta, you may be asked for access credentials before the login page. Enter the details from your invitation.

Check before you approve

  • Approve only when you started the connection from your own AI tool. Do not open approval links sent to you by email or chat.
  • The app name on the consent screen is what the app calls itself. Check that the return address shown with it belongs to the AI tool you are using (this computer for Claude Code).
  • Revoke any connection you do not recognize in Connected apps right away.

Claude Code

claude mcp add --transport http nonagon-provider https://api.nnglink.ai/api/mcp/provider

Then open /mcp in Claude Code and connect nonagon-provider. A browser opens: log in, enter your two-factor code, and choose "Allow".

Claude.ai / Claude Desktop

  • On a Pro or Max plan, go to Customize › Connectors, choose "+ Add" then "Add custom connector", and enter a name and the server URL above.
  • Under OAuth client, choose "Register automatically". "Use Claude's published identity" (shown as recommended) and "Use your own OAuth client" do not work. Leave Request headers empty.
  • On a Team or Enterprise plan, an organization admin adds the connector from Organization settings › Connectors (also choosing "Register automatically"). Each member then chooses "Connect" in Customize › Connectors.
  • Connecting opens the login page in a browser. Approve it the same way as in Claude Code, then turn on the connector in a conversation.

Other AI tools

Any tool that can register a remote MCP server (Streamable HTTP) with OAuth dynamic client registration (automatic registration) can use the same server URL. Pre-registered client IDs are not supported.

Before you paste

Before you give an OpenAPI document or a cURL command to an AI tool, always remove API keys, Bearer tokens, cookies, and credential query parameters. Anything you paste is sent to the AI tool. Import removes some credentials, but it does not guarantee that all of them are removed. Enter real API key values only in the dashboard.

What the AI can and cannot do

  • Can: list and view your listings, run the readiness check, import from OpenAPI or cURL, create drafts, and edit or delete drafts created by the same connection. It can list and read drafts from any connection.
  • Cannot: enter API keys or prices, create, publish, or delete listings, change existing listings, or touch bank accounts and payouts.
  • Drafts have no API key field, but the description and sample fields are free text. Do not let the AI write secrets there.
  • Turning a draft into a listing happens in the dashboard. For a draft created by another connection, complete it in the dashboard to create a listing, or delete it.

Reviewing and revoking connections

In the dashboard, Settings › Connected apps lists the apps you have connected, and you can revoke any of them at any time. A revoked app stops working immediately. Changing your password or two-factor settings ends all connections.

Tools

The tools an AI tool sees depend on the scope it requested (shown on the consent screen). You cannot narrow the scope there, so do not approve if it is broader than you want.

ToolWhat it does
list_my_listingsList your listings
get_my_listingGet the details of one listing
run_listing_readiness_checkRun the pre-listing readiness check (settings, OpenAPI, health)
import_openapiBuild draft candidates from an OpenAPI document (including call examples from its written examples)
import_curlBuild a draft candidate from a cURL command (the -d JSON becomes the body example candidate)
preview_response_schemaCall a public endpoint once (no credentials) and suggest a response schema
list_listing_draftsList your drafts
get_listing_draftGet one draft
create_listing_draftCreate a draft (call examples allowed; they are public, so never include credentials)
update_listing_draftEdit a draft created by this connection (set an example to null to remove it)
delete_listing_draftDelete a draft created by this connection

9. How your API is called (x402 protocol)

Providers do not need to implement this directly, but this is useful background on how payments work.

For the proxy type

1. An AI agent sends a request to the NonagonLink Proxy API
2. NonagonLink verifies the x402 payment
3. On success, the request is forwarded to the Provider API with the auth header attached
4. The Provider API response is returned to the agent
5. USDC is added to the Provider's balance

No implementation changes are required on the Provider side. Simply register your existing API as-is.

For the x402_direct type

The Provider must implement the x402 protocol (402 Payment Required responses) themselves. See the Agent Developer Guide for details.


10. FAQ

Q: I lost my API Key

A: Rotate your API Key from the settings screen. A new key will be issued.

Q: I want to delete a Listing

A: You can delete it from the API management screen. Deletion cannot be undone. You can also deactivate it to pause it temporarily, or keep it active but remove it from the directory.

Q: How much are the fees?

A: The pricing structure will be announced soon.

Q: Can I receive Japanese yen instead of USDC?

A: Details such as withdrawal methods and currencies will be announced separately.

Q: I want to register a test API and try it out

A: You can create a Listing and keep it inactive while reviewing its contents. You can also turn off directory listing before activating it, so the API works but never appears in the public directory. Please contact the team about using the test environment.

当サイトでは、利用状況の把握と改善のためにアクセス解析 (Google アナリティクス) を使用します。「同意する」を選ぶと、閲覧ページ等の計測情報が Google LLC(米国)へ送信されます。詳細: プライバシーポリシー / 利用者情報の外部送信について