{"openapi":"3.1.0","info":{"title":"CoinGecko Public","version":"1.0.0","description":"CoinGecko free public API: simple prices, market listings, trending coins and global stats (rate-limited upstream). Machine-payable per request.","contact":{"email":"contact@meshgateway.co"},"x-guidance":"Every path is payable per request over HTTP 402 in USDG on eip155:4663. GET or POST without credentials to receive the challenge (WWW-Authenticate Payment header, plus the x402 payment-required header). Sign PermitWitnessTransferFrom for the advertised offer (spender is the canonical x402ExactPermit2Proxy) and retry with the payment-signature header. Buyers only need USDG: a one-time sponsored Permit2 approval is available at POST /api/gas/sponsor {\"address\"}."},"x-service-info":{"description":"CoinGecko free public API: simple prices, market listings, trending coins and global stats (rate-limited upstream). Machine-payable per request."},"paths":{"/global":{"get":{"summary":"Global crypto market cap, volume and dominance data.","responses":{"200":{"description":"Successful response"},"402":{"description":"Payment Required"}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.003000"},"protocols":[{"mpp":{"method":"evm","intent":"charge","currency":"0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168"}},{"x402":{}}],"amount":"3000","currency":"0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168","description":"CoinGecko Public: Global stats","intent":"charge","method":"evm","recipient":"0xbB818E97E2260904B1D502E154488392ba2Ab5C9","scheme":"exact","network":"eip155:4663","extra":{"assetTransferMethod":"permit2","spender":"0x402085c248EeA27D92E8b30b2C58ed07f9E20001","name":"USDG"}}}},"/markets":{"get":{"summary":"Ranked market data with price, cap and 24h change. Pass ?vs_currency=usd&per_page=100&page=1.","responses":{"200":{"description":"Successful response"},"402":{"description":"Payment Required"}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"mpp":{"method":"evm","intent":"charge","currency":"0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168"}},{"x402":{}}],"amount":"5000","currency":"0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168","description":"CoinGecko Public: Coin markets","intent":"charge","method":"evm","recipient":"0xbB818E97E2260904B1D502E154488392ba2Ab5C9","scheme":"exact","network":"eip155:4663","extra":{"assetTransferMethod":"permit2","spender":"0x402085c248EeA27D92E8b30b2C58ed07f9E20001","name":"USDG"}}}},"/price":{"get":{"summary":"Spot price for coins by id. Pass ?ids=bitcoin,ethereum&vs_currencies=usd.","responses":{"200":{"description":"Successful response"},"402":{"description":"Payment Required"}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.003000"},"protocols":[{"mpp":{"method":"evm","intent":"charge","currency":"0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168"}},{"x402":{}}],"amount":"3000","currency":"0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168","description":"CoinGecko Public: Simple price","intent":"charge","method":"evm","recipient":"0xbB818E97E2260904B1D502E154488392ba2Ab5C9","scheme":"exact","network":"eip155:4663","extra":{"assetTransferMethod":"permit2","spender":"0x402085c248EeA27D92E8b30b2C58ed07f9E20001","name":"USDG"}}}},"/trending":{"get":{"summary":"Top trending coins, NFTs and categories on CoinGecko in the last 24h.","responses":{"200":{"description":"Successful response"},"402":{"description":"Payment Required"}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.003000"},"protocols":[{"mpp":{"method":"evm","intent":"charge","currency":"0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168"}},{"x402":{}}],"amount":"3000","currency":"0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168","description":"CoinGecko Public: Trending search","intent":"charge","method":"evm","recipient":"0xbB818E97E2260904B1D502E154488392ba2Ab5C9","scheme":"exact","network":"eip155:4663","extra":{"assetTransferMethod":"permit2","spender":"0x402085c248EeA27D92E8b30b2C58ed07f9E20001","name":"USDG"}}}}}}