{"uid":"cap_O0M5fA8LXCDbDL0m-YTAL","slug":"fold-x402-grok-4-market-intelligence-x402-d5c8184b","name":"fold · x402 — Grok-4 Market Intelligence (x402)","description":"Machine-readable market intelligence for onchain agents, served over x402.","url":"https://x402.fold.computer/llm/grok-4-3","method":"POST","headers":{},"bodySchema":{"type":"object","required":["messages"],"properties":{"messages":{"type":"array","description":"OpenAI-format chat messages"},"max_tokens":{"type":"number"},"temperature":{"type":"number"}}},"responseSchema":{"type":"object","required":["status","data"],"properties":{"data":{"type":"object","description":"OpenAI-format completion + x402 cost info"},"status":{"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"2","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$2/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"2","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"2","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_LpZq53ul6MBzgzkt6id8Q","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"2","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Provides machine-readable onchain market intelligence via the Grok-4 LLM, billed per-call over the x402 micropayment protocol at $2 USDC.","exampleAgentPrompt":"Ask fold's Grok-4 endpoint what the current sentiment is around Ethereum L2 fee markets and whether now is a good time to bridge assets — give me a detailed analysis, up to 512 tokens.","exampleUseCases":null,"resultDescription":"Returns an OpenAI-format chat completion containing Grok-4's response to the messages, along with x402 cost metadata (amount charged, payment confirmed). The data object mirrors the standard OpenAI completion schema so agents can parse it with existing tooling.","failureModes":["Payment failure: insufficient USDC balance or x402 payment header missing/malformed — endpoint returns 402 Payment Required","Invalid message format: messages array not in OpenAI chat format — returns 400 Bad Request","Model overload or timeout: Grok-4 backend unavailable — returns 503 or timeout","Exceeded max_tokens limit: response truncated or error if value is out of range","Rate limiting: too many concurrent calls — returns 429"],"whenToPreferThis":"Choose this endpoint when your agent needs Grok-4-quality reasoning specifically about onchain and crypto market topics and you want pay-per-call billing in USDC without managing API keys or subscriptions. Prefer it over generic OpenAI or Anthropic endpoints when the task is onchain market intelligence and the agent runtime already supports x402 payment headers.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T11:28:22.237Z","isFirstParty":false}