{"name":"ai-api","version":"2.0.0","description":"Paid API for AI agents — web extraction, real-time finance, weather, news, geocoding, and utilities. Pay per request with USDC via x402.","openapi_spec":"http://ai-api-1c5n.onrender.com/api/v1/openapi.json","base_url":"http://ai-api-1c5n.onrender.com","x402":{"version":"2","protocol":"x402","currency":"USDC","network":"eip155:8453","network_name":"Base (mainnet)","facilitator":"https://facilitator.xpay.sh","pay_to":"0xFB3A0085fa2e7852f24e96C49EA77e080bE55CAB"},"endpoints":{"free":[{"method":"GET","path":"/api/health","url":"http://ai-api-1c5n.onrender.com/api/health","description":"Health check"},{"method":"GET","path":"/api/info","url":"http://ai-api-1c5n.onrender.com/api/info","description":"API information and x402 discovery"},{"method":"GET","path":"/.well-known/x402.json","url":"http://ai-api-1c5n.onrender.com/.well-known/x402.json","description":"x402 protocol discovery"},{"method":"GET","path":"/api/v1/openapi.json","url":"http://ai-api-1c5n.onrender.com/api/v1/openapi.json","description":"OpenAPI 3.0 specification"}],"paid":[{"method":"POST","path":"/api/v1/echo","url":"http://ai-api-1c5n.onrender.com/api/v1/echo","price":"$0.001","description":"Echo API — returns the data you send","example":{"body":{"message":"hello"}}},{"method":"POST","path":"/api/v1/text/transform","url":"http://ai-api-1c5n.onrender.com/api/v1/text/transform","price":"$0.001","description":"Text transformation (uppercase, lowercase, reverse, camelCase, snakeCase, kebabCase)","example":{"body":{"text":"hello world","operation":"uppercase"}}},{"method":"POST","path":"/api/v1/text/analyze","url":"http://ai-api-1c5n.onrender.com/api/v1/text/analyze","price":"$0.002","description":"Text analysis — character count, word count, sentence count, top characters","example":{"body":{"text":"Hello world. This is a test."}}},{"method":"POST","path":"/api/v1/data/json-transform","url":"http://ai-api-1c5n.onrender.com/api/v1/data/json-transform","price":"$0.002","description":"JSON transformation (flatten, pick, omit, keys, values)","example":{"body":{"data":{"a":{"b":1}},"operation":"flatten"}}},{"method":"POST","path":"/api/v1/crypto/hash","url":"http://ai-api-1c5n.onrender.com/api/v1/crypto/hash","price":"$0.001","description":"Hash generation — SHA-256, SHA-512, MD5, SHA-1","example":{"body":{"input":"hello","algorithm":"sha256"}}},{"method":"POST","path":"/api/v1/util/uuid","url":"http://ai-api-1c5n.onrender.com/api/v1/util/uuid","price":"$0.001","description":"UUID v4 generation (1-100 at once)","example":{"body":{"count":5}}},{"method":"POST","path":"/api/v1/finance/forex","url":"http://ai-api-1c5n.onrender.com/api/v1/finance/forex","price":"$0.002","description":"Real-time exchange rate between two currencies","example":{"body":{"from":"USD","to":"JPY"}}},{"method":"POST","path":"/api/v1/finance/forex/rates","url":"http://ai-api-1c5n.onrender.com/api/v1/finance/forex/rates","price":"$0.002","description":"All exchange rates for a base currency","example":{"body":{"base":"USD"}}},{"method":"POST","path":"/api/v1/finance/crypto","url":"http://ai-api-1c5n.onrender.com/api/v1/finance/crypto","price":"$0.002","description":"Real-time cryptocurrency price by symbol","example":{"body":{"symbol":"BTC"}}},{"method":"POST","path":"/api/v1/finance/crypto/top","url":"http://ai-api-1c5n.onrender.com/api/v1/finance/crypto/top","price":"$0.002","description":"Top cryptocurrencies by market cap","example":{"body":{"limit":10}}},{"method":"POST","path":"/api/v1/finance/crypto/fear-greed","url":"http://ai-api-1c5n.onrender.com/api/v1/finance/crypto/fear-greed","price":"$0.001","description":"Crypto Fear & Greed Index — real-time market sentiment","example":{"body":{}}},{"method":"POST","path":"/api/v1/weather/current","url":"http://ai-api-1c5n.onrender.com/api/v1/weather/current","price":"$0.002","description":"Current weather conditions by latitude/longitude","example":{"body":{"latitude":40.71,"longitude":-74.01}}},{"method":"POST","path":"/api/v1/weather/forecast","url":"http://ai-api-1c5n.onrender.com/api/v1/weather/forecast","price":"$0.002","description":"7-day weather forecast by latitude/longitude","example":{"body":{"latitude":40.71,"longitude":-74.01}}},{"method":"POST","path":"/api/v1/web/extract","url":"http://ai-api-1c5n.onrender.com/api/v1/web/extract","price":"$0.005","description":"Extract text content from any URL (text, markdown, or links)","example":{"body":{"url":"https://example.com","format":"text"}}},{"method":"POST","path":"/api/v1/geo/search","url":"http://ai-api-1c5n.onrender.com/api/v1/geo/search","price":"$0.002","description":"Geocode an address or place name to coordinates","example":{"body":{"query":"Tokyo"}}},{"method":"POST","path":"/api/v1/news/feed","url":"http://ai-api-1c5n.onrender.com/api/v1/news/feed","price":"$0.003","description":"Fetch and parse RSS/news feed (tech, crypto, business, world)","example":{"body":{"category":"tech"}}},{"method":"POST","path":"/api/v1/net/dns","url":"http://ai-api-1c5n.onrender.com/api/v1/net/dns","price":"$0.001","description":"DNS lookup for a domain","example":{"body":{"domain":"example.com","type":"A"}}}]}}