← Marketplace

Coingecko

Coingecko is an x402-native service at https://pro-api.coingecko.com, indexed from the x402 Bazaar (Coinbase's public discovery directory). It charges callers itself in USDC on Base and is paid directly at its own wallet; MeshGateway passes your request and payment headers through untouched. 12 endpoints listed.

Base

Offers

OfferEndpointPrice
Search Pools
Search onchain DEX pools and token, by contract address, name, or token symbol.
/m/bz-pro-api-coingecko-com/api/v3/x402/onchain/search/pools0.01 USDC
Token Price :Address
Query onchain DEX token price & market data based on the provided token contract addresses on a network.
/m/bz-pro-api-coingecko-com/api/v3/x402/onchain/simple/networks/arbitrum/token_price/:address0.01 USDC
Token Price 0x0b3e328455c4059eeb9e3f84b5543f74e24e7e1b,0x42000000000000000000000
Query onchain DEX token price & market data based on the provided token contract addresses on a network.
/m/bz-pro-api-coingecko-com/api/v3/x402/onchain/simple/networks/base/token_price/0x0b3e328455c4059eeb9e3f84b5543f74e24e7e1b,0x42000000000000000000000.01 USDC
Token Price 0x4200000000000000000000000000000000000006,0xff8104251e7761163fac321
Query onchain DEX token price & market data based on the provided token contract addresses on a network.
/m/bz-pro-api-coingecko-com/api/v3/x402/onchain/simple/networks/base/token_price/0x4200000000000000000000000000000000000006,0xff8104251e7761163fac320.01 USDC
Token Price 0x940181a94a35a4569e4529a3cdfb74e38fd98631,0x311935cd80b76769bf2ecc9
Query onchain DEX token price & market data based on the provided token contract addresses on a network.
/m/bz-pro-api-coingecko-com/api/v3/x402/onchain/simple/networks/base/token_price/0x940181a94a35a4569e4529a3cdfb74e38fd98631,0x311935cd80b76769bf2ecc0.01 USDC
Token Price :Address
Query onchain DEX token price & market data based on the provided token contract addresses on a network.
/m/bz-pro-api-coingecko-com/api/v3/x402/onchain/simple/networks/base/token_price/:address0.01 USDC
Token Price Ethereum
Query onchain DEX token price & market data based on the provided token contract addresses on a network.
/m/bz-pro-api-coingecko-com/api/v3/x402/onchain/simple/networks/base/token_price/ethereum0.01 USDC
Token Price I%20Af8E=&I%7Df]*'!Z$
Query onchain DEX token price & market data based on the provided token contract addresses on a network.
/m/bz-pro-api-coingecko-com/api/v3/x402/onchain/simple/networks/bsc/token_price/i%20Af8E=&I%7Df]*'!Z$0.01 USDC
Token Price :Address
Query onchain DEX token price & market data based on the provided token contract addresses on a network.
/m/bz-pro-api-coingecko-com/api/v3/x402/onchain/simple/networks/eth/token_price/:address0.01 USDC
Token Price :Address
Query onchain DEX token price & market data based on the provided token contract addresses on a network.
/m/bz-pro-api-coingecko-com/api/v3/x402/onchain/simple/networks/hyperevm/token_price/:address0.01 USDC
Token Price :Address
Query onchain DEX token price & market data based on the provided token contract addresses on a network.
/m/bz-pro-api-coingecko-com/api/v3/x402/onchain/simple/networks/monad/token_price/:address0.01 USDC
Token Price TEkxiTehnzSmSe2XqrBj4w32RUN966rdz8
Query onchain DEX token price & market data based on the provided token contract addresses on a network.
/m/bz-pro-api-coingecko-com/api/v3/x402/onchain/simple/networks/tron/token_price/TEkxiTehnzSmSe2XqrBj4w32RUN966rdz80.01 USDC

Machine-readable: openapi.json with x-payment-info offers.

Try it live

Run the full MPP flow from your browser: catch the 402, sign the payment with your wallet, and watch it settle on-chain.

This merchant settles over the mppx rail; pay it from an agent with the snippet below.

Pay with an agent

Any MPP or x402-compatible client works. With mppx, payment is automatic:

import { Mppx, evm } from 'mppx/client'
import { privateKeyToAccount } from 'viem/accounts'

const mppx = Mppx.create({
  methods: [evm({
    account: privateKeyToAccount(process.env.KEY),
    currencies: [evm.assets.base.USDC],
  })],
})

const res = await mppx.fetch('https://api.meshgateway.co/m/bz-pro-api-coingecko-com/api/v3/x402/onchain/search/pools')
// 402 challenge signed and settled automatically; response includes Payment-Receipt

Or inspect the challenge yourself:

curl -i https://api.meshgateway.co/m/bz-pro-api-coingecko-com/api/v3/x402/onchain/search/pools
# HTTP/1.1 402 Payment Required
# WWW-Authenticate: Payment id="…", method="evm", intent="charge", …