{"uid":"cap_Y-h_2cv3Q6CLRFiT3eS19","slug":"scriptmasterlabs-acp-x402-llm-chat-api-a2c361e6","name":"ScriptMasterLabs ACP x402 LLM Chat API","description":"Pay-per-call crypto, RWA, federal, SEC, and compliance APIs. Settled in USDC on Base via x402. Hyphen routes only (e.g. /x402/rwa-aggregates, /x402/gas-tracker).","url":"https://acp-x402-discovery.onrender.com/x402/llm-chat","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"type":"string"},"queryParams":{"type":"object","properties":{"model":{"type":"string","example":"x-ai-grok-4-5"},"prompt":{"type":"string","example":"Say hi in one sentence"},"message":{"type":"string","example":"Hello"},"max_tokens":{"type":"integer","default":256,"example":256},"temperature":{"type":"number","default":0.2,"example":0.2}}}}},"output":{"properties":{"example":{}}}}},"responseSchema":{"example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Ncfe1Xuh2ENw61bZnfGoI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Send a natural language prompt to an LLM (e.g. Grok) via a pay-per-call x402 endpoint, receiving a generated text response settled in USDC on Base.","exampleAgentPrompt":"Ask the Grok 4.5 model 'What are the top 3 trends in RWA tokenization right now?' with a max of 300 tokens and a temperature of 0.3, paying per call with USDC on Base.","exampleUseCases":[{"title":"Crypto compliance question answered by AI","prompt":"Ask the x402 LLM chat endpoint: using the Grok model, what are the current SEC compliance requirements for tokenized real-world assets? Keep the response under 256 tokens and use a temperature of 0.2."},{"title":"On-demand AI summarization for DeFi data","prompt":"Send this prompt to the Grok 4.5 model via the pay-per-call chat API: 'Summarize the key risks of investing in RWA-backed tokens in two sentences.' Max 150 tokens, temperature 0.1."},{"title":"Quick AI Q&A without a subscription","prompt":"I want to ask an AI a one-off question — use the x402 LLM chat with the Grok model: 'Say hi and explain what x402 is in one sentence.' Max 100 tokens, default temperature."}],"resultDescription":"The agent receives a generated text response from the specified LLM model (e.g. Grok 4.5), reflecting the prompt submitted. The response is the model's completion, constrained by the provided max_tokens and temperature. Payment of $0.001 USDC is settled on Base via x402 per call.","failureModes":["Payment not settled (402 response) if USDC balance or x402 header is missing","Invalid or unsupported model name returns an error","Prompt or message field missing triggers a validation error","max_tokens exceeding model context window may cause truncation or error","High temperature values may produce incoherent or off-topic responses","Service unavailability on Render hosting causing 502/503 errors"],"whenToPreferThis":"Choose this endpoint when you need on-demand LLM text generation without a subscription, want to pay per call in USDC on Base via the x402 protocol, or are building crypto-native agentic workflows that require metered AI inference. Prefer this over OpenAI or Anthropic direct APIs when crypto micropayment settlement is required or when integrating with the ScriptMasterLabs ACP ecosystem for crypto, RWA, or compliance data tasks.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:30:22.635Z","isFirstParty":false}