{"uid":"cap_bqxEbvxlb-U63vo8AGHPE","slug":"coockies-ai-code-explain-495c9038","name":"Coockies.ai Code Explain","description":"194 production-ready API endpoints. AI, Search, Social, Finance, Crypto. Pay-per-call with x402 on Base chain.","url":"https://coockies-ai.vercel.app/api/code-explain","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"result":{"type":"object","description":"API response data"}}},"responseSchema":{"type":"object","example":{"result":{"data":"example response"}},"properties":{"result":{"type":"object","description":"API response data"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.19251","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.19251/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.19251","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.19251","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Ls4sqpPLLrMcpXwV530OT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.19251","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Explains code snippets using AI, returning a plain-language description of what the code does","exampleAgentPrompt":"Can you explain what this code does in plain English? Here's the snippet: `function fibonacci(n) { return n <= 1 ? n : fibonacci(n-1) + fibonacci(n-2); }`","exampleUseCases":null,"resultDescription":"Returns a result object containing an AI-generated plain-language explanation of the submitted code, describing its purpose, logic, and behavior","failureModes":["Missing or malformed code input returns an error","Overly large code blocks may be truncated or rejected","Ambiguous or non-code text may produce irrelevant explanations","Payment failure on Base chain blocks the request","Rate limits or server errors may return 5xx responses"],"whenToPreferThis":"Use this endpoint when an AI agent or user needs a quick, human-readable explanation of a code snippet without setting up a full LLM pipeline; ideal for pay-per-call scenarios where you want to avoid subscription overhead and pay $0.19 USDC per explanation via x402 on Base","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:55:35.031Z","isFirstParty":false}