{"uid":"cap_Zob7H7rdlW0n_b_EY_IQ6","slug":"api-node4all-com-06646b59","name":"Node4All Fortune (x402 Demo)","description":"Node4All provides everything you need to build payment-ready AI agents with x402, including step-by-step documentation, testing tools, code examples, and ready-to-use services.","url":"https://api.node4all.com/v1/coinbase/x402-test","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"energy":"Creative momentum","status":"success","fortune":"Fortune favors the on-chain.","network":"eip155:8453","service":"Node4All","endpoint":"node4all-fortune","protocol":"x402-v2","facilitator":"coinbase-cdp","lucky_color":"indigo","lucky_number":42,"network_label":"base-mainnet"}},"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{}}},"response":{"energy":"Luminous optimism","status":"success","fortune":"Your next commit will compile on the first try.","network":"eip155:8453","service":"Node4All","website":"https://node4all.com","endpoint":"node4all-fortune","protocol":"x402-v2","lucky_color":"mint","lucky_number":43,"network_label":"base-mainnet"}},"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_I_WA_aoq9FD-N6RcbZ7Ru","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a deterministic fortune reading derived from the x402 payment authorization nonce, serving as a demo of the x402 v2 micropayment flow on Base with USDC via Coinbase CDP.","exampleAgentPrompt":"Give me a fortune reading from the Node4All x402 demo — I want to see a deterministic fortune generated from my payment nonce, along with a lucky number and lucky color.","exampleUseCases":null,"resultDescription":"A JSON object containing a fortune string (e.g. 'Your seed phrase is safe. Your secrets, less so.'), an energy descriptor (e.g. 'Gentle persistence'), a lucky number (integer), a lucky color, the network label (base-mainnet), the protocol version (x402-v2), the facilitator (coinbase-cdp), and service metadata like endpoint name and website URL.","failureModes":["Payment not authorized: x402 handshake fails if USDC balance is insufficient or wallet is not connected — returns 402 Payment Required","Invalid payment nonce: if the nonce cannot be resolved deterministically, fortune generation may fail","Network mismatch: endpoint expects Base mainnet (eip155:8453); wrong network returns an error","Rate limiting or node downtime: service may return 503 or timeout if the Node4All backend is unavailable"],"whenToPreferThis":"Use this endpoint when you want to demo or test the x402 v2 micropayment protocol on Base mainnet using Coinbase CDP as the facilitator, and want a lightweight, fun, non-destructive paid API call. It is ideal for validating that your x402 payment stack works end-to-end for just $0.002 USDC. Not suitable for production fortune-telling or serious data needs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:38:27.681Z","isFirstParty":false}