Building blocks for the agent economy. Pay-per-use x402 endpoints on Solana and Base.
Price
from $0.0010
up to $1.00 per request
Network
base
Category
ai
On-chain txns
1
Uptime
100%
Avg latency
474ms
Checks
135
Status
Healthy
Discovered from on-chain x402 payment activity. Prices shown are per-call in USDC.
Create a Solana associated token account (ATA) for a given Solana wallet and SPL mint, paid via Base USDC. Typical use: prepare a Solana wallet to receive USDC or other SPL tokens before sending funds or using bridge flows. Cost: 0.4 USDC per call, paid on Base. The endpoint checks via Solana RPC whether the ATA already exists; if it already exists at execution time or creation fails, the server attempts to refund the 0.4 USDC payment on Base.
Base → Solana USDC microbridge discovery. Default example uses 1.00 USDC deposited to the Base bridge wallet. Provide a Solana receiver address and an amount (min 0.01 USDC, max 50.00 USDC, steps of 0.01) to create a concrete bridge quote. The bridge charges a 2.5% commission; the remainder is delivered as USDC on Solana.
Base coin price mini-endpoint for major tokens only. Returns spot prices and 24h stats for well-known tickers like btc, solana, eth, xmr, ltc and other large-cap coins, never microcaps. Pass an optional ticker to get a single-coin 24h snapshot with price, symbol, changeRate, changePrice, high and low, or omit ticker to receive a compact basket of top tokens in a fixed order. Cost: 0.001 USDC per request.
Base GPT wrapper API using x402 payments. Default direct call: model gpt-5-mini, max_output_tokens=2000, fixed price 0.01 USDC for up to 1000 input tokens. For all other settings the price is computed per model as (input_tokens * input_price_per_million + max_output_tokens * output_price_per_million) / 1,000,000, with a minimum of 0.001 USDC and always rounded up to 6 decimals. Optional max_input_tokens lets you cap the input tokens used for pricing; if the message is longer than this cap the server returns an error instead of under-pricing. Optional action=create creates a custom agent with the given message as preprompt for 0.001 USDC (no OpenAI call), stores a base_price_usdc using (max_input_tokens_for_agent or 1000) + preprompt + max_output_tokens, and returns a custom_id. Optional action=list lists up to 100 recent custom agents for the paying wallet for 0.001 USDC without calling OpenAI. Custom agents can be called via POST /base/llm/gpt with custom_id, or POST /base/llm/gpt/{cu
Wallet-bound notes API. Cost: $0.001 USDC per action. Actions (set via action field in body): create (default) creates new note with body required and optional title, list shows your notes with pagination using page and pageSize params, read fetches full note by noteId, append adds text to existing note by noteId (owner only), rewrite replaces note content by noteId (owner only), delete removes note by noteId (owner only). All actions require X-PAYMENT header.
Base send endpoint discovery. Example quote uses 1.0 USDC (1,000,000 atomics) paid to the server address for documentation and x402scan registration. For real sends, provide receiver and amountAtomic (and optionally a token contract) so the payment schema targets your chosen receiver and token directly. On Base there is geen ATA-concept; elke 0x wallet kan tokens ontvangen zolang het een geldig adres is en het tokencontract een standaard transfer ondersteunt.
Base speech-to-text endpoint using x402 payments. Provide either a YouTube URL/ID or a direct audio file URL; the server downloads the audio, runs speech-to-text, and returns the transcript text. Pricing: 0.01 USDC per started minute of audio, computed from the estimated duration and charged upfront via x402. Default discovery price without a specific URL is 0.60 USDC as an upper-bound quote. When called without a specific URL, the endpoint returns a default discovery quote. Clients should re-run discovery with a concrete URL to get an exact quote based on the real audio duration.
Send messages to Telegram from your Base wallet. Ideal for agents and backends to communicate with the outside world. Cost: 0.001 USDC per call. Use action=create with a name to get a chat_key, then open t.me/x402Factory_bot and send /pair <chat_key> to activate. Use action=list to see your chat_keys. Use action=message (or omit action) with chat_key and at least a message or attachment to send a Telegram message. Supports Markdown v2 and optional attachment URLs (image/video/audio).
Base text-to-speech API paid via x402. Converts text input into a hosted audio URL. Dynamic pricing for TTS: the prepaid price is computed per request based on the input and charged upfront via x402. Prepaid price for pure discovery requests without text is an upper bound; clients should re-run discovery with their concrete input if they need an exact quote.
Create a Solana associated token account (ATA) for a given wallet and SPL mint so it can hold that token. Typical use: prepare a wallet to receive USDC or other SPL tokens before sending funds. Cost: 0.4 USDC per call. The endpoint checks via RPC whether the ATA already exists; if it does, discovery returns an error and no payment is needed. For paid calls, if the ATA cannot be created or is found to already exist at execution time, the server attempts to refund the 0.4 USDC payment.
Solana → Base USDC microbridge discovery. Default example uses 1.00 USDC deposited to the Solana bridge wallet. Provide a Base receiver address (0x...) and an amount (min 0.01 USDC, steps of 0.01) to create a concrete bridge quote. The bridge charges a 2.5% commission; the remainder is delivered as USDC on Base.
Solana coin price mini-endpoint for major tokens only. Returns spot prices and 24h stats for well-known tickers like btc, solana, eth, xmr, ltc and other large-cap coins, never microcaps. Pass an optional ticker to get a single-coin 24h snapshot with price, symbol, changeRate, changePrice, high and low, or omit ticker to receive a compact basket of top tokens in a fixed order. Cost: 0.001 USDC per request.
Solana GPT wrapper API using x402 payments. Default direct call: model gpt-5-mini, max_output_tokens=2000, fixed price 0.01 USDC for up to 1000 input tokens. For all other settings the price is computed per model as (input_tokens * input_price_per_million + max_output_tokens * output_price_per_million) / 1,000,000, with a minimum of 0.001 USDC and always rounded up to 6 decimals. Optional max_input_tokens lets you cap the input tokens used for pricing; if the message is longer than this cap the server returns an error instead of under-pricing. Optional action=create creates a custom agent with the given message as preprompt for 0.001 USDC (no OpenAI call), stores a base_price_usdc using (max_input_tokens_for_agent or 1000) + preprompt + max_output_tokens, and returns a custom_id. Optional action=list lists up to 100 recent custom agents for the paying wallet for 0.001 USDC without calling OpenAI. Custom agents can be called via POST /solana/llm/gpt with custom_id, or POST /solana/llm/g
Solana GPT wrapper API using x402 payments. Default direct call: model gpt-5-mini, max_output_tokens=2000, fixed price 0.01 USDC for up to 1000 input tokens. For all other settings the price is computed per model as (input_tokens * input_price_per_million + max_output_tokens * output_price_per_million) / 1,000,000, with a minimum of 0.001 USDC and always rounded up to 6 decimals. Optional max_input_tokens lets you cap the input tokens used for pricing; if the message is longer than this cap the server returns an error instead of under-pricing. Optional action=create creates a custom agent with the given message as preprompt for 0.001 USDC (no OpenAI call), stores a base_price_usdc using (max_input_tokens_for_agent or 1000) + preprompt + max_output_tokens, and returns a custom_id. Optional action=list lists up to 100 recent custom agents for the paying wallet for 0.001 USDC without calling OpenAI. Custom agents can be called via POST /solana/llm/gpt with custom_id, or POST /solana/llm/g
Wallet-bound notes API. Cost: $0.001 USDC per action. Actions (set via action field in body): create (default) creates new note with body required and optional title, list shows your notes with pagination using page and pageSize params, read fetches full note by noteId, append adds text to existing note by noteId (owner only), rewrite replaces note content by noteId (owner only), delete removes note by noteId (owner only). All actions require X-PAYMENT header.
Solana send endpoint discovery. Example quote uses 1.0 USDC (1,000,000 atomics) paid to the server address for documentation and x402scan registration. For real sends, provide receiver and amountAtomic so the payment schema targets your chosen receiver and mint directly. For all SPL mints (including USDC), the receiver wallet must already have an associated token account (ATA) for that mint, otherwise the facilitator may reject the transaction.
Solana speech-to-text endpoint using x402 payments. Provide either a YouTube URL/ID or a direct audio file URL; the server downloads the audio, runs speech-to-text, and returns the transcript text. Pricing: 0.01 USDC per started minute of audio, computed from the estimated duration and charged upfront via x402. Default discovery price without a specific URL is 0.60 USDC as an upper-bound quote. When called without a specific URL, the endpoint returns a default discovery quote. Clients should re-run discovery with a concrete URL to get an exact quote based on the real video duration.
Send messages to Telegram from your Solana wallet. Ideal for agents and backends to communicate with the outside world. Cost: 0.001 USDC per call. Use action=create with a name to get a chat_key, then open t.me/x402Factory_bot and send /pair <chat_key> to activate. Use action=list to see your chat_keys. Use action=message (or omit action) with chat_key and message to send a Telegram message. Supports Markdown v2 and optional attachment URLs (image/video/audio).
Solana text-to-speech API paid via x402. Converts text input into a hosted audio URL. Dynamic pricing for TTS: the prepaid price is computed per request based on the input and charged upfront via x402. Prepaid price for pure discovery requests without text is an upper bound; clients should re-run discovery with their concrete input if they need an exact quote.
Solana text-to-speech API with fixed-price tiers paid via x402. Converts text input into a hosted audio URL. This endpoint is a fixed-price tier: '/solana/tts/100' charges exactly 1.000000 USDC prepaid. Within this tier, you can send up to 1666 characters (including spaces). If you send more, the server returns HTTP 400 and you should use a higher-priced /solana/tts/<amount> tier. Each integer segment after /solana/tts/ represents 0.01 USDC (e.g. /solana/tts/50 = 0.50 USDC, /solana/tts/1000 = 10.00 USDC).
# one-time setup
npx @apihubio/cli register
npx @apihubio/cli topup 10
# call it
npx @apihubio/cli call https://x402factory.ai \
-X POST \
-d '{ /* check provider docs for input */ }'
# or save it to Claude/Cursor/Codex
npx @apihubio/cli install
npx @apihubio/cli add https://x402factory.aiimport { wrapFetchWithPayment } from "@x402/fetch";
import { createWalletClient, http } from "viem";
import { privateKeyToAccount } from "viem/accounts";
import { base } from "viem/chains";
const account = privateKeyToAccount("0xYOUR_PRIVATE_KEY");
const client = createWalletClient({ account, chain: base, transport: http() });
const x402Fetch = wrapFetchWithPayment(client);
const res = await x402Fetch("https://x402factory.ai", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ /* check provider docs for input */ }),
});
const data = await res.json();This is an external service not operated by APIHub. Listing data is sourced from public on-chain records and third-party indexes. Payment goes directly to the service provider via the x402 protocol. APIHub does not guarantee availability, accuracy, or quality of external services.