{"openapi":"3.0.3","info":{"title":"Coinlight","version":"0.1.0","description":"Coinlight (coinlight.xyz) charges USDC per request with the x402 protocol on Solana and Base.","x-guidance":"Every /p/<slug> endpoint is a GET (unless noted) with query parameters. Call it once to receive HTTP 402 with x402 v2 accepts, pay with an x402 client (e.g. @x402/fetch), and retry with the PAYMENT-SIGNATURE header. Add header x-coinlight-trial: 1 for one free trial call. Built-in utilities cover Solana/Base balances, transactions, priority fees, token prices and unit conversion from $0.005. MCP: /mcp. Docs: /llms.txt.","contact":{"name":"falcon.sol","email":"falconsol@mail.grokbot.com"}},"servers":[{"url":"https://coinlight-app.vercel.app"}],"components":{"securitySchemes":{"x402":{"type":"apiKey","in":"header","name":"PAYMENT-SIGNATURE","description":"x402 v2 payment payload; no account or API key needed."}}},"paths":{"/p/new-launches":{"get":{"operationId":"new_launches","summary":"New pool / token launch feed with safety flags","description":"Freshest DEX pools on Solana or Base (newest first) with age in minutes, liquidity, 5m/1h volume, buys vs sells and instant red flags (no liquidity, sells far below buys, extreme FDV/liquidity). Filter by minimum liquidity and maximum age. Pipe results into token-sell-check before buying.","responses":{"200":{"description":"Upstream response after payment"},"402":{"description":"Payment Required. The body is an x402 PaymentRequired document: accepts[].amount is USDC base units (0.01 USDC = \"10000\"), and extensions.bazaar carries the input schema.","content":{"application/json":{"schema":{"type":"object","required":["x402Version","accepts"],"properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object","required":["scheme","network","asset","amount","payTo"],"properties":{"scheme":{"type":"string","enum":["exact"]},"network":{"type":"string"},"amount":{"type":"string","description":"USDC base units. 0.01 USDC is \"10000\"."},"asset":{"type":"string"},"payTo":{"type":"string"}}}},"extensions":{"type":"object"}}}}}}},"security":[{"x402":[]}],"x-payment-info":{"protocol":"x402","protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"x-listing-tier":"primary","parameters":[{"name":"chain","in":"query","required":false,"schema":{"type":"string","description":"solana (default) or base.","enum":["solana","base"]}},{"name":"minLiquidityUsd","in":"query","required":false,"schema":{"type":"string","description":"Minimum pool liquidity in USD. Default 1000."}},{"name":"maxAgeMinutes","in":"query","required":false,"schema":{"type":"string","description":"Only pools younger than this, 1-1440. Default 60."}}]}},"/p/tx-explain":{"get":{"operationId":"tx_explain","summary":"Explain a transaction in plain English (Solana + Base)","description":"Paste any Solana signature or Base tx hash and get a one-sentence English explanation (e.g. 'Wallet X swapped 0.5 SOL for 1,203,442 BONK on Jupiter'), the action type (swap, transfer, mint, failed...), net asset changes for the signer and fee. Chain auto-detected.","responses":{"200":{"description":"Upstream response after payment"},"402":{"description":"Payment Required. The body is an x402 PaymentRequired document: accepts[].amount is USDC base units (0.01 USDC = \"10000\"), and extensions.bazaar carries the input schema.","content":{"application/json":{"schema":{"type":"object","required":["x402Version","accepts"],"properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object","required":["scheme","network","asset","amount","payTo"],"properties":{"scheme":{"type":"string","enum":["exact"]},"network":{"type":"string"},"amount":{"type":"string","description":"USDC base units. 0.01 USDC is \"10000\"."},"asset":{"type":"string"},"payTo":{"type":"string"}}}},"extensions":{"type":"object"}}}}}}},"security":[{"x402":[]}],"x-payment-info":{"protocol":"x402","protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"x-listing-tier":"primary","parameters":[{"name":"tx","in":"query","required":true,"schema":{"type":"string","description":"Solana signature (base58) or Base 0x tx hash."}}]}},"/p/wallet-portfolio":{"get":{"operationId":"wallet_portfolio","summary":"Cross-chain wallet portfolio (Solana + Base, USD valued)","description":"One call returns a USD-valued portfolio across Solana and Base: SOL, every SPL/Token-2022 holding, Base ETH and USDC, each priced from live DEX liquidity, sorted by value, with dust and unpriced tokens flagged. Pass solana, evm, or both.","responses":{"200":{"description":"Upstream response after payment"},"402":{"description":"Payment Required. The body is an x402 PaymentRequired document: accepts[].amount is USDC base units (0.01 USDC = \"10000\"), and extensions.bazaar carries the input schema.","content":{"application/json":{"schema":{"type":"object","required":["x402Version","accepts"],"properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object","required":["scheme","network","asset","amount","payTo"],"properties":{"scheme":{"type":"string","enum":["exact"]},"network":{"type":"string"},"amount":{"type":"string","description":"USDC base units. 0.01 USDC is \"10000\"."},"asset":{"type":"string"},"payTo":{"type":"string"}}}},"extensions":{"type":"object"}}}}}}},"security":[{"x402":[]}],"x-payment-info":{"protocol":"x402","protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"x-listing-tier":"primary","parameters":[{"name":"solana","in":"query","required":false,"schema":{"type":"string","description":"Solana wallet (base58). Optional."}},{"name":"evm","in":"query","required":false,"schema":{"type":"string","description":"0x wallet on Base. Optional."}}]}},"/p/token-sell-check":{"get":{"operationId":"token_sell_check","summary":"Can I sell it? Pre-trade honeypot check (Solana + Base)","description":"Pre-trade safety in one keyless call, chain auto-detected. Solana: quotes a real buy-then-sell round trip through Jupiter routing (sell route exists? round-trip loss %, price impact) plus Token-2022 traps (transfer fee, transfer hook, permanent delegate, non-transferable, default-frozen) and mint/freeze authority. Base: honeypot/sell-tax/blacklist/owner-control flags plus DEX liquidity. Pre-migration pump.fun / Raydium LaunchLab tokens are quoted on their bonding curve, so a missing Jupiter route is never called a honeypot. Adds top-holder concentration, liquidity lock, creator launch history, mutable metadata and price changes. Returns verdict SELLABLE / RISKY / UNKNOWN / UNSELLABLE with reasons.","responses":{"200":{"description":"Upstream response after payment"},"402":{"description":"Payment Required. The body is an x402 PaymentRequired document: accepts[].amount is USDC base units (0.01 USDC = \"10000\"), and extensions.bazaar carries the input schema.","content":{"application/json":{"schema":{"type":"object","required":["x402Version","accepts"],"properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object","required":["scheme","network","asset","amount","payTo"],"properties":{"scheme":{"type":"string","enum":["exact"]},"network":{"type":"string"},"amount":{"type":"string","description":"USDC base units. 0.01 USDC is \"10000\"."},"asset":{"type":"string"},"payTo":{"type":"string"}}}},"extensions":{"type":"object"}}}}}}},"security":[{"x402":[]}],"x-payment-info":{"protocol":"x402","protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"x-listing-tier":"primary","parameters":[{"name":"token","in":"query","required":true,"schema":{"type":"string","description":"Solana mint (base58) or Base ERC-20 0x address."}},{"name":"sizeUsd","in":"query","required":false,"schema":{"type":"string","description":"Trade size to simulate in USD (Solana), 1-10000. Default 50."}}]}},"/p/text-stats":{"get":{"operationId":"text_stats","summary":"Text stats and token estimate","description":"Count characters, words, lines, bytes and estimate LLM tokens for a text, so an agent can budget context before sending it.","responses":{"200":{"description":"Upstream response after payment"},"402":{"description":"Payment Required. The body is an x402 PaymentRequired document: accepts[].amount is USDC base units (0.01 USDC = \"10000\"), and extensions.bazaar carries the input schema.","content":{"application/json":{"schema":{"type":"object","required":["x402Version","accepts"],"properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object","required":["scheme","network","asset","amount","payTo"],"properties":{"scheme":{"type":"string","enum":["exact"]},"network":{"type":"string"},"amount":{"type":"string","description":"USDC base units. 0.01 USDC is \"10000\"."},"asset":{"type":"string"},"payTo":{"type":"string"}}}},"extensions":{"type":"object"}}}}}}},"security":[{"x402":[]}],"x-payment-info":{"protocol":"x402","protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"x-listing-tier":"primary","parameters":[{"name":"text","in":"query","required":true,"schema":{"type":"string","description":"Text to measure (max 200k chars)."}}]}},"/p/time-convert":{"get":{"operationId":"time_convert","summary":"Timestamp converter","description":"Convert a unix timestamp (seconds or ms) or ISO date into ISO UTC, unix seconds, unix ms and a relative 'x ago' string. Omit input for the current time.","responses":{"200":{"description":"Upstream response after payment"},"402":{"description":"Payment Required. The body is an x402 PaymentRequired document: accepts[].amount is USDC base units (0.01 USDC = \"10000\"), and extensions.bazaar carries the input schema.","content":{"application/json":{"schema":{"type":"object","required":["x402Version","accepts"],"properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object","required":["scheme","network","asset","amount","payTo"],"properties":{"scheme":{"type":"string","enum":["exact"]},"network":{"type":"string"},"amount":{"type":"string","description":"USDC base units. 0.01 USDC is \"10000\"."},"asset":{"type":"string"},"payTo":{"type":"string"}}}},"extensions":{"type":"object"}}}}}}},"security":[{"x402":[]}],"x-payment-info":{"protocol":"x402","protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"x-listing-tier":"primary","parameters":[{"name":"value","in":"query","required":false,"schema":{"type":"string","description":"Unix seconds, unix ms, or ISO 8601 date. Optional."}}]}},"/p/address-validate":{"get":{"operationId":"address_validate","summary":"Crypto address validator","description":"Tell what kind of address a string is (Solana base58 or EVM 0x), whether it is valid, and its EIP-55 checksum form. Catch typos before sending funds.","responses":{"200":{"description":"Upstream response after payment"},"402":{"description":"Payment Required. The body is an x402 PaymentRequired document: accepts[].amount is USDC base units (0.01 USDC = \"10000\"), and extensions.bazaar carries the input schema.","content":{"application/json":{"schema":{"type":"object","required":["x402Version","accepts"],"properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object","required":["scheme","network","asset","amount","payTo"],"properties":{"scheme":{"type":"string","enum":["exact"]},"network":{"type":"string"},"amount":{"type":"string","description":"USDC base units. 0.01 USDC is \"10000\"."},"asset":{"type":"string"},"payTo":{"type":"string"}}}},"extensions":{"type":"object"}}}}}}},"security":[{"x402":[]}],"x-payment-info":{"protocol":"x402","protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"x-listing-tier":"primary","parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string","description":"Any address string."}}]}},"/p/base-transaction":{"get":{"operationId":"base_transaction","summary":"Base transaction status","description":"Look up a Base transaction hash: success or failure, block, from, to, value, gas used and fee paid.","responses":{"200":{"description":"Upstream response after payment"},"402":{"description":"Payment Required. The body is an x402 PaymentRequired document: accepts[].amount is USDC base units (0.01 USDC = \"10000\"), and extensions.bazaar carries the input schema.","content":{"application/json":{"schema":{"type":"object","required":["x402Version","accepts"],"properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object","required":["scheme","network","asset","amount","payTo"],"properties":{"scheme":{"type":"string","enum":["exact"]},"network":{"type":"string"},"amount":{"type":"string","description":"USDC base units. 0.01 USDC is \"10000\"."},"asset":{"type":"string"},"payTo":{"type":"string"}}}},"extensions":{"type":"object"}}}}}}},"security":[{"x402":[]}],"x-payment-info":{"protocol":"x402","protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"x-listing-tier":"primary","parameters":[{"name":"hash","in":"query","required":true,"schema":{"type":"string","description":"0x transaction hash."}}]}},"/p/base-gas":{"get":{"operationId":"base_gas","summary":"Base gas price","description":"Current Base gas price and latest block, in wei and gwei, plus the cost of a plain ETH transfer and an ERC-20 transfer.","responses":{"200":{"description":"Upstream response after payment"},"402":{"description":"Payment Required. The body is an x402 PaymentRequired document: accepts[].amount is USDC base units (0.01 USDC = \"10000\"), and extensions.bazaar carries the input schema.","content":{"application/json":{"schema":{"type":"object","required":["x402Version","accepts"],"properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object","required":["scheme","network","asset","amount","payTo"],"properties":{"scheme":{"type":"string","enum":["exact"]},"network":{"type":"string"},"amount":{"type":"string","description":"USDC base units. 0.01 USDC is \"10000\"."},"asset":{"type":"string"},"payTo":{"type":"string"}}}},"extensions":{"type":"object"}}}}}}},"security":[{"x402":[]}],"x-payment-info":{"protocol":"x402","protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"x-listing-tier":"primary","parameters":[]}},"/p/base-balance":{"get":{"operationId":"base_balance","summary":"Base ETH and USDC balance","description":"ETH and USDC balance of any address on Base mainnet, read live from the chain.","responses":{"200":{"description":"Upstream response after payment"},"402":{"description":"Payment Required. The body is an x402 PaymentRequired document: accepts[].amount is USDC base units (0.01 USDC = \"10000\"), and extensions.bazaar carries the input schema.","content":{"application/json":{"schema":{"type":"object","required":["x402Version","accepts"],"properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object","required":["scheme","network","asset","amount","payTo"],"properties":{"scheme":{"type":"string","enum":["exact"]},"network":{"type":"string"},"amount":{"type":"string","description":"USDC base units. 0.01 USDC is \"10000\"."},"asset":{"type":"string"},"payTo":{"type":"string"}}}},"extensions":{"type":"object"}}}}}}},"security":[{"x402":[]}],"x-payment-info":{"protocol":"x402","protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"x-listing-tier":"primary","parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string","description":"0x address on Base."}}]}},"/p/token-new-profiles":{"get":{"operationId":"token_new_profiles","summary":"Newly listed token profiles","description":"Latest tokens that just published a DexScreener profile (logo, links): an early signal of new launches. Optional chain filter.","responses":{"200":{"description":"Upstream response after payment"},"402":{"description":"Payment Required. The body is an x402 PaymentRequired document: accepts[].amount is USDC base units (0.01 USDC = \"10000\"), and extensions.bazaar carries the input schema.","content":{"application/json":{"schema":{"type":"object","required":["x402Version","accepts"],"properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object","required":["scheme","network","asset","amount","payTo"],"properties":{"scheme":{"type":"string","enum":["exact"]},"network":{"type":"string"},"amount":{"type":"string","description":"USDC base units. 0.01 USDC is \"10000\"."},"asset":{"type":"string"},"payTo":{"type":"string"}}}},"extensions":{"type":"object"}}}}}}},"security":[{"x402":[]}],"x-payment-info":{"protocol":"x402","protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"x-listing-tier":"primary","parameters":[{"name":"chain","in":"query","required":false,"schema":{"type":"string","description":"Optional chain filter, e.g. solana or base."}}]}},"/p/token-boosted":{"get":{"operationId":"token_boosted","summary":"Most-promoted tokens","description":"Tokens with the most active DexScreener boosts right now (a proxy for paid promotion and attention), optionally filtered by chain.","responses":{"200":{"description":"Upstream response after payment"},"402":{"description":"Payment Required. The body is an x402 PaymentRequired document: accepts[].amount is USDC base units (0.01 USDC = \"10000\"), and extensions.bazaar carries the input schema.","content":{"application/json":{"schema":{"type":"object","required":["x402Version","accepts"],"properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object","required":["scheme","network","asset","amount","payTo"],"properties":{"scheme":{"type":"string","enum":["exact"]},"network":{"type":"string"},"amount":{"type":"string","description":"USDC base units. 0.01 USDC is \"10000\"."},"asset":{"type":"string"},"payTo":{"type":"string"}}}},"extensions":{"type":"object"}}}}}}},"security":[{"x402":[]}],"x-payment-info":{"protocol":"x402","protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"x-listing-tier":"primary","parameters":[{"name":"chain","in":"query","required":false,"schema":{"type":"string","description":"Optional chain filter, e.g. solana or base."}}]}},"/p/token-search":{"get":{"operationId":"token_search","summary":"Token search","description":"Find tokens by name, symbol or address across chains. Returns the most liquid matching pairs with contract addresses so an agent can resolve 'BONK' to a mint.","responses":{"200":{"description":"Upstream response after payment"},"402":{"description":"Payment Required. The body is an x402 PaymentRequired document: accepts[].amount is USDC base units (0.01 USDC = \"10000\"), and extensions.bazaar carries the input schema.","content":{"application/json":{"schema":{"type":"object","required":["x402Version","accepts"],"properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object","required":["scheme","network","asset","amount","payTo"],"properties":{"scheme":{"type":"string","enum":["exact"]},"network":{"type":"string"},"amount":{"type":"string","description":"USDC base units. 0.01 USDC is \"10000\"."},"asset":{"type":"string"},"payTo":{"type":"string"}}}},"extensions":{"type":"object"}}}}}}},"security":[{"x402":[]}],"x-payment-info":{"protocol":"x402","protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"x-listing-tier":"primary","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","description":"Name, ticker or address, e.g. BONK."}},{"name":"chain","in":"query","required":false,"schema":{"type":"string","description":"Optional chain filter: solana, base, ethereum..."}}]}},"/p/token-pairs":{"get":{"operationId":"token_pairs","summary":"Token DEX pairs","description":"Top DEX trading pairs for a token on any chain (Solana, Base, Ethereum...), sorted by liquidity: price, liquidity, 24h volume, FDV, pair age.","responses":{"200":{"description":"Upstream response after payment"},"402":{"description":"Payment Required. The body is an x402 PaymentRequired document: accepts[].amount is USDC base units (0.01 USDC = \"10000\"), and extensions.bazaar carries the input schema.","content":{"application/json":{"schema":{"type":"object","required":["x402Version","accepts"],"properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object","required":["scheme","network","asset","amount","payTo"],"properties":{"scheme":{"type":"string","enum":["exact"]},"network":{"type":"string"},"amount":{"type":"string","description":"USDC base units. 0.01 USDC is \"10000\"."},"asset":{"type":"string"},"payTo":{"type":"string"}}}},"extensions":{"type":"object"}}}}}}},"security":[{"x402":[]}],"x-payment-info":{"protocol":"x402","protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"x-listing-tier":"primary","parameters":[{"name":"token","in":"query","required":true,"schema":{"type":"string","description":"Token address (Solana mint or 0x contract)."}}]}},"/p/token-price":{"get":{"operationId":"token_price","summary":"Token price (Solana)","description":"Live USD prices for up to 20 Solana token mints in one call (Jupiter price feed), with 24h change where available.","responses":{"200":{"description":"Upstream response after payment"},"402":{"description":"Payment Required. The body is an x402 PaymentRequired document: accepts[].amount is USDC base units (0.01 USDC = \"10000\"), and extensions.bazaar carries the input schema.","content":{"application/json":{"schema":{"type":"object","required":["x402Version","accepts"],"properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object","required":["scheme","network","asset","amount","payTo"],"properties":{"scheme":{"type":"string","enum":["exact"]},"network":{"type":"string"},"amount":{"type":"string","description":"USDC base units. 0.01 USDC is \"10000\"."},"asset":{"type":"string"},"payTo":{"type":"string"}}}},"extensions":{"type":"object"}}}}}}},"security":[{"x402":[]}],"x-payment-info":{"protocol":"x402","protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"x-listing-tier":"primary","parameters":[{"name":"mints","in":"query","required":true,"schema":{"type":"string","description":"Comma-separated Solana mint addresses, up to 20."}}]}},"/p/solana-associated-token-address":{"get":{"operationId":"solana_associated_token_address","summary":"Solana associated token address","description":"Derive the associated token account (ATA) address for an owner wallet and mint, offline and deterministic. Supports spl-token and token-2022.","responses":{"200":{"description":"Upstream response after payment"},"402":{"description":"Payment Required. The body is an x402 PaymentRequired document: accepts[].amount is USDC base units (0.01 USDC = \"10000\"), and extensions.bazaar carries the input schema.","content":{"application/json":{"schema":{"type":"object","required":["x402Version","accepts"],"properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object","required":["scheme","network","asset","amount","payTo"],"properties":{"scheme":{"type":"string","enum":["exact"]},"network":{"type":"string"},"amount":{"type":"string","description":"USDC base units. 0.01 USDC is \"10000\"."},"asset":{"type":"string"},"payTo":{"type":"string"}}}},"extensions":{"type":"object"}}}}}}},"security":[{"x402":[]}],"x-payment-info":{"protocol":"x402","protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"x-listing-tier":"primary","parameters":[{"name":"owner","in":"query","required":true,"schema":{"type":"string","description":"Owner wallet (base58)."}},{"name":"mint","in":"query","required":true,"schema":{"type":"string","description":"Token mint (base58)."}},{"name":"program","in":"query","required":false,"schema":{"type":"string","description":"spl-token (default) or token-2022.","enum":["spl-token","token-2022"]}}]}},"/p/solana-network-status":{"get":{"operationId":"solana_network_status","summary":"Solana network status","description":"Solana mainnet health in one call: current slot, block height, epoch progress, and recent transactions per second.","responses":{"200":{"description":"Upstream response after payment"},"402":{"description":"Payment Required. The body is an x402 PaymentRequired document: accepts[].amount is USDC base units (0.01 USDC = \"10000\"), and extensions.bazaar carries the input schema.","content":{"application/json":{"schema":{"type":"object","required":["x402Version","accepts"],"properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object","required":["scheme","network","asset","amount","payTo"],"properties":{"scheme":{"type":"string","enum":["exact"]},"network":{"type":"string"},"amount":{"type":"string","description":"USDC base units. 0.01 USDC is \"10000\"."},"asset":{"type":"string"},"payTo":{"type":"string"}}}},"extensions":{"type":"object"}}}}}}},"security":[{"x402":[]}],"x-payment-info":{"protocol":"x402","protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"x-listing-tier":"primary","parameters":[]}},"/p/solana-priority-fees":{"get":{"operationId":"solana_priority_fees","summary":"Solana priority fee estimate","description":"Recent Solana prioritization fees (micro-lamports per compute unit) as p25/p50/p75/p90 so an agent can price a transaction that lands.","responses":{"200":{"description":"Upstream response after payment"},"402":{"description":"Payment Required. The body is an x402 PaymentRequired document: accepts[].amount is USDC base units (0.01 USDC = \"10000\"), and extensions.bazaar carries the input schema.","content":{"application/json":{"schema":{"type":"object","required":["x402Version","accepts"],"properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object","required":["scheme","network","asset","amount","payTo"],"properties":{"scheme":{"type":"string","enum":["exact"]},"network":{"type":"string"},"amount":{"type":"string","description":"USDC base units. 0.01 USDC is \"10000\"."},"asset":{"type":"string"},"payTo":{"type":"string"}}}},"extensions":{"type":"object"}}}}}}},"security":[{"x402":[]}],"x-payment-info":{"protocol":"x402","protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"x-listing-tier":"primary","parameters":[{"name":"account","in":"query","required":false,"schema":{"type":"string","description":"Optional writable account to scope the estimate (e.g. a pool or program)."}}]}},"/p/solana-top-holders":{"get":{"operationId":"solana_top_holders","summary":"Solana token top holders","description":"Largest 20 token accounts of an SPL mint with owner wallet and share of supply. Spot whale or insider concentration.","responses":{"200":{"description":"Upstream response after payment"},"402":{"description":"Payment Required. The body is an x402 PaymentRequired document: accepts[].amount is USDC base units (0.01 USDC = \"10000\"), and extensions.bazaar carries the input schema.","content":{"application/json":{"schema":{"type":"object","required":["x402Version","accepts"],"properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object","required":["scheme","network","asset","amount","payTo"],"properties":{"scheme":{"type":"string","enum":["exact"]},"network":{"type":"string"},"amount":{"type":"string","description":"USDC base units. 0.01 USDC is \"10000\"."},"asset":{"type":"string"},"payTo":{"type":"string"}}}},"extensions":{"type":"object"}}}}}}},"security":[{"x402":[]}],"x-payment-info":{"protocol":"x402","protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"x-listing-tier":"primary","parameters":[{"name":"mint","in":"query","required":true,"schema":{"type":"string","description":"Token mint address (base58)."}}]}},"/p/solana-token-supply":{"get":{"operationId":"solana_token_supply","summary":"Solana token supply and authorities","description":"Total supply, decimals, mint authority and freeze authority for any SPL token mint.","responses":{"200":{"description":"Upstream response after payment"},"402":{"description":"Payment Required. The body is an x402 PaymentRequired document: accepts[].amount is USDC base units (0.01 USDC = \"10000\"), and extensions.bazaar carries the input schema.","content":{"application/json":{"schema":{"type":"object","required":["x402Version","accepts"],"properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object","required":["scheme","network","asset","amount","payTo"],"properties":{"scheme":{"type":"string","enum":["exact"]},"network":{"type":"string"},"amount":{"type":"string","description":"USDC base units. 0.01 USDC is \"10000\"."},"asset":{"type":"string"},"payTo":{"type":"string"}}}},"extensions":{"type":"object"}}}}}}},"security":[{"x402":[]}],"x-payment-info":{"protocol":"x402","protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"x-listing-tier":"primary","parameters":[{"name":"mint","in":"query","required":true,"schema":{"type":"string","description":"Token mint address (base58)."}}]}},"/p/solana-account-info":{"get":{"operationId":"solana_account_info","summary":"Solana account info","description":"What is this Solana address? Owner program, lamports, executable flag, data size and parsed type (wallet, token account, mint, program, stake...).","responses":{"200":{"description":"Upstream response after payment"},"402":{"description":"Payment Required. The body is an x402 PaymentRequired document: accepts[].amount is USDC base units (0.01 USDC = \"10000\"), and extensions.bazaar carries the input schema.","content":{"application/json":{"schema":{"type":"object","required":["x402Version","accepts"],"properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object","required":["scheme","network","asset","amount","payTo"],"properties":{"scheme":{"type":"string","enum":["exact"]},"network":{"type":"string"},"amount":{"type":"string","description":"USDC base units. 0.01 USDC is \"10000\"."},"asset":{"type":"string"},"payTo":{"type":"string"}}}},"extensions":{"type":"object"}}}}}}},"security":[{"x402":[]}],"x-payment-info":{"protocol":"x402","protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"x-listing-tier":"primary","parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string","description":"Solana address (base58)."}}]}},"/p/solana-transaction":{"get":{"operationId":"solana_transaction","summary":"Solana transaction decoder","description":"Decode a Solana transaction by signature into a plain summary: status, fee, signer, programs called, and per-account SOL and token balance changes.","responses":{"200":{"description":"Upstream response after payment"},"402":{"description":"Payment Required. The body is an x402 PaymentRequired document: accepts[].amount is USDC base units (0.01 USDC = \"10000\"), and extensions.bazaar carries the input schema.","content":{"application/json":{"schema":{"type":"object","required":["x402Version","accepts"],"properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object","required":["scheme","network","asset","amount","payTo"],"properties":{"scheme":{"type":"string","enum":["exact"]},"network":{"type":"string"},"amount":{"type":"string","description":"USDC base units. 0.01 USDC is \"10000\"."},"asset":{"type":"string"},"payTo":{"type":"string"}}}},"extensions":{"type":"object"}}}}}}},"security":[{"x402":[]}],"x-payment-info":{"protocol":"x402","protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"x-listing-tier":"primary","parameters":[{"name":"signature","in":"query","required":true,"schema":{"type":"string","description":"Transaction signature (base58)."}}]}},"/p/solana-recent-transactions":{"get":{"operationId":"solana_recent_transactions","summary":"Solana recent transactions","description":"Most recent transaction signatures for a Solana address with slot, time, success flag and memo. limit 1-50 (default 10).","responses":{"200":{"description":"Upstream response after payment"},"402":{"description":"Payment Required. The body is an x402 PaymentRequired document: accepts[].amount is USDC base units (0.01 USDC = \"10000\"), and extensions.bazaar carries the input schema.","content":{"application/json":{"schema":{"type":"object","required":["x402Version","accepts"],"properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object","required":["scheme","network","asset","amount","payTo"],"properties":{"scheme":{"type":"string","enum":["exact"]},"network":{"type":"string"},"amount":{"type":"string","description":"USDC base units. 0.01 USDC is \"10000\"."},"asset":{"type":"string"},"payTo":{"type":"string"}}}},"extensions":{"type":"object"}}}}}}},"security":[{"x402":[]}],"x-payment-info":{"protocol":"x402","protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"x-listing-tier":"primary","parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string","description":"Solana address (base58)."}},{"name":"limit","in":"query","required":false,"schema":{"type":"string","description":"How many signatures, 1-50. Default 10."}}]}},"/p/solana-usdc-balance":{"get":{"operationId":"solana_usdc_balance","summary":"Solana USDC balance","description":"USDC balance of a Solana wallet (sum of all USDC token accounts). Useful before paying or invoicing an agent.","responses":{"200":{"description":"Upstream response after payment"},"402":{"description":"Payment Required. The body is an x402 PaymentRequired document: accepts[].amount is USDC base units (0.01 USDC = \"10000\"), and extensions.bazaar carries the input schema.","content":{"application/json":{"schema":{"type":"object","required":["x402Version","accepts"],"properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object","required":["scheme","network","asset","amount","payTo"],"properties":{"scheme":{"type":"string","enum":["exact"]},"network":{"type":"string"},"amount":{"type":"string","description":"USDC base units. 0.01 USDC is \"10000\"."},"asset":{"type":"string"},"payTo":{"type":"string"}}}},"extensions":{"type":"object"}}}}}}},"security":[{"x402":[]}],"x-payment-info":{"protocol":"x402","protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"x-listing-tier":"primary","parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string","description":"Solana wallet address (base58)."}}]}},"/p/solana-token-balances":{"get":{"operationId":"solana_token_balances","summary":"Solana token balances","description":"All non-zero SPL and Token-2022 balances held by a Solana wallet: mint, amount, decimals, token account. Live mainnet data.","responses":{"200":{"description":"Upstream response after payment"},"402":{"description":"Payment Required. The body is an x402 PaymentRequired document: accepts[].amount is USDC base units (0.01 USDC = \"10000\"), and extensions.bazaar carries the input schema.","content":{"application/json":{"schema":{"type":"object","required":["x402Version","accepts"],"properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object","required":["scheme","network","asset","amount","payTo"],"properties":{"scheme":{"type":"string","enum":["exact"]},"network":{"type":"string"},"amount":{"type":"string","description":"USDC base units. 0.01 USDC is \"10000\"."},"asset":{"type":"string"},"payTo":{"type":"string"}}}},"extensions":{"type":"object"}}}}}}},"security":[{"x402":[]}],"x-payment-info":{"protocol":"x402","protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"x-listing-tier":"primary","parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string","description":"Solana wallet address (base58)."}}]}},"/p/solana-sol-balance":{"get":{"operationId":"solana_sol_balance","summary":"Solana SOL balance","description":"Native SOL balance of any Solana address, in SOL and lamports, read live from mainnet.","responses":{"200":{"description":"Upstream response after payment"},"402":{"description":"Payment Required. The body is an x402 PaymentRequired document: accepts[].amount is USDC base units (0.01 USDC = \"10000\"), and extensions.bazaar carries the input schema.","content":{"application/json":{"schema":{"type":"object","required":["x402Version","accepts"],"properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object","required":["scheme","network","asset","amount","payTo"],"properties":{"scheme":{"type":"string","enum":["exact"]},"network":{"type":"string"},"amount":{"type":"string","description":"USDC base units. 0.01 USDC is \"10000\"."},"asset":{"type":"string"},"payTo":{"type":"string"}}}},"extensions":{"type":"object"}}}}}}},"security":[{"x402":[]}],"x-payment-info":{"protocol":"x402","protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"x-listing-tier":"primary","parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string","description":"Solana address (base58)."}}]}},"/p/solana-token-safety":{"get":{"operationId":"solana_token_safety","summary":"Solana token safety check","description":"Solana token safety check. Pass a mint (for example DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263) and get mint authority, freeze authority, indexed liquidity, largest-account concentration, market age, and a simple risk score. Token data is read from Solana mainnet. Price is 0.01 USDC per call.","responses":{"200":{"description":"Token safety report"},"402":{"description":"Payment Required. The body is an x402 PaymentRequired document: accepts[].amount is USDC base units (0.01 USDC = \"10000\"), and extensions.bazaar carries the input schema.","content":{"application/json":{"schema":{"type":"object","required":["x402Version","accepts"],"properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object","required":["scheme","network","asset","amount","payTo"],"properties":{"scheme":{"type":"string","enum":["exact"]},"network":{"type":"string"},"amount":{"type":"string","description":"USDC base units. 0.01 USDC is \"10000\"."},"asset":{"type":"string"},"payTo":{"type":"string"}}}},"extensions":{"type":"object"}}}}}}},"security":[{"x402":[]}],"x-payment-info":{"protocol":"x402","protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.01"}},"x-listing-tier":"primary","parameters":[{"name":"mint","in":"query","required":true,"description":"Solana token mint address","schema":{"type":"string","minLength":32,"maxLength":44},"example":"DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263"}]}},"/p/uuid":{"get":{"operationId":"uuid","summary":"UUID generator","description":"Generate 1-50 random v4 UUIDs from a cryptographic RNG, e.g. for idempotency keys.","responses":{"200":{"description":"Upstream response after payment"},"402":{"description":"Payment Required. The body is an x402 PaymentRequired document: accepts[].amount is USDC base units (0.01 USDC = \"10000\"), and extensions.bazaar carries the input schema.","content":{"application/json":{"schema":{"type":"object","required":["x402Version","accepts"],"properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object","required":["scheme","network","asset","amount","payTo"],"properties":{"scheme":{"type":"string","enum":["exact"]},"network":{"type":"string"},"amount":{"type":"string","description":"USDC base units. 0.01 USDC is \"10000\"."},"asset":{"type":"string"},"payTo":{"type":"string"}}}},"extensions":{"type":"object"}}}}}}},"security":[{"x402":[]}],"x-payment-info":{"protocol":"x402","protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"x-listing-tier":"utility","parameters":[{"name":"count","in":"query","required":false,"schema":{"type":"string","description":"How many, 1-50. Default 1."}}]}},"/p/encode":{"get":{"operationId":"encode","summary":"Base58 / base64 / hex encoder","description":"Convert data between utf8, hex, base64 and base58 (Solana keys and signatures use base58).","responses":{"200":{"description":"Upstream response after payment"},"402":{"description":"Payment Required. The body is an x402 PaymentRequired document: accepts[].amount is USDC base units (0.01 USDC = \"10000\"), and extensions.bazaar carries the input schema.","content":{"application/json":{"schema":{"type":"object","required":["x402Version","accepts"],"properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object","required":["scheme","network","asset","amount","payTo"],"properties":{"scheme":{"type":"string","enum":["exact"]},"network":{"type":"string"},"amount":{"type":"string","description":"USDC base units. 0.01 USDC is \"10000\"."},"asset":{"type":"string"},"payTo":{"type":"string"}}}},"extensions":{"type":"object"}}}}}}},"security":[{"x402":[]}],"x-payment-info":{"protocol":"x402","protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"x-listing-tier":"utility","parameters":[{"name":"data","in":"query","required":true,"schema":{"type":"string","description":"Input data."}},{"name":"from","in":"query","required":true,"schema":{"type":"string","description":"Encoding of data.","enum":["utf8","hex","base64","base58"]}},{"name":"to","in":"query","required":true,"schema":{"type":"string","description":"Target encoding.","enum":["utf8","hex","base64","base58"]}}]}},"/p/hash":{"get":{"operationId":"hash","summary":"Hash text","description":"Hash a string with sha256, sha512, sha1 or keccak256 and get hex and base64 output. Handy for commitments, idempotency keys and checks.","responses":{"200":{"description":"Upstream response after payment"},"402":{"description":"Payment Required. The body is an x402 PaymentRequired document: accepts[].amount is USDC base units (0.01 USDC = \"10000\"), and extensions.bazaar carries the input schema.","content":{"application/json":{"schema":{"type":"object","required":["x402Version","accepts"],"properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object","required":["scheme","network","asset","amount","payTo"],"properties":{"scheme":{"type":"string","enum":["exact"]},"network":{"type":"string"},"amount":{"type":"string","description":"USDC base units. 0.01 USDC is \"10000\"."},"asset":{"type":"string"},"payTo":{"type":"string"}}}},"extensions":{"type":"object"}}}}}}},"security":[{"x402":[]}],"x-payment-info":{"protocol":"x402","protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"x-listing-tier":"utility","parameters":[{"name":"text","in":"query","required":true,"schema":{"type":"string","description":"Text to hash (UTF-8)."}},{"name":"algo","in":"query","required":false,"schema":{"type":"string","description":"Algorithm. Default sha256.","enum":["sha256","sha512","sha1","keccak256"]}}]}},"/p/units-convert":{"get":{"operationId":"units_convert","summary":"Crypto unit converter","description":"Exact, bigint-safe conversion between human and atomic units: SOL<->lamports, ETH<->gwei<->wei, USDC<->atomic (6 decimals) or any decimals.","responses":{"200":{"description":"Upstream response after payment"},"402":{"description":"Payment Required. The body is an x402 PaymentRequired document: accepts[].amount is USDC base units (0.01 USDC = \"10000\"), and extensions.bazaar carries the input schema.","content":{"application/json":{"schema":{"type":"object","required":["x402Version","accepts"],"properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object","required":["scheme","network","asset","amount","payTo"],"properties":{"scheme":{"type":"string","enum":["exact"]},"network":{"type":"string"},"amount":{"type":"string","description":"USDC base units. 0.01 USDC is \"10000\"."},"asset":{"type":"string"},"payTo":{"type":"string"}}}},"extensions":{"type":"object"}}}}}}},"security":[{"x402":[]}],"x-payment-info":{"protocol":"x402","protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"x-listing-tier":"utility","parameters":[{"name":"amount","in":"query","required":true,"schema":{"type":"string","description":"Amount to convert, e.g. 1.5"}},{"name":"from","in":"query","required":true,"schema":{"type":"string","description":"Unit of amount.","enum":["sol","lamports","eth","gwei","wei","usdc","usdc_atomic","units","atomic"]}},{"name":"decimals","in":"query","required":false,"schema":{"type":"string","description":"Decimals when from is units/atomic. Default 6."}}]}}}}