{"uid":"cap_XoRH8suc3r5Kkwf8oTtAE","slug":"pennyrail-micro-router-execute-76994c71","name":"PennyRail Micro Router – Execute","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/router/execute/micro","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"string","description":"Input passed to the resolved PennyRail product."},"intent":{"type":"string","description":"Natural-language task. Omit when productId is supplied."},"productId":{"type":"string","description":"Optional exact PennyRail product id returned by find/quote."}}},"responseSchema":{"type":"object","additionalProperties":true},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7uw1qMvsE1ELaEZfY6iLE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Routes a natural-language task or exact product ID to the appropriate PennyRail micro-service and executes it, returning the result for $0.004 USDC per call.","exampleAgentPrompt":"Use PennyRail to execute this intent: 'summarize the following article into 3 bullet points' — here's the article text as the input.","exampleUseCases":[{"title":"Auto-route a summarization task","prompt":"I have a block of text I want condensed. Route it through PennyRail with the intent 'summarize this into 3 key points' and pass the article as the input."},{"title":"Execute a known product by ID","prompt":"I already have a PennyRail product ID for a translation service — run it with my English paragraph as the input and give me the result."},{"title":"Delegate an ambiguous micro-task","prompt":"I'm not sure which PennyRail product handles sentiment scoring — just send the intent 'classify the sentiment of this review' with the review text as input and let the router figure it out."}],"resultDescription":"A JSON object whose shape depends on the resolved PennyRail product. The agent receives whatever the downstream micro-service returns — which may include generated text, structured data, classification labels, or other task-specific payloads. The schema is open (additionalProperties: true), so the agent should inspect the response keys dynamically.","failureModes":["Ambiguous or unresolvable intent — router cannot find a matching product and returns an error or empty result","Invalid or non-existent productId — call fails with a not-found error","Malformed input string — downstream product rejects the payload","Payment not settled — x402 payment of $0.004 USDC not confirmed, call is rejected","Rate limiting or cold-start latency on Vercel serverless — occasional timeouts","Downstream product itself fails — router succeeds but product returns an error payload"],"whenToPreferThis":"Choose this endpoint when you want to dispatch a task to PennyRail's ecosystem of micro-services without hard-coding a specific service URL — especially useful when the right product is unknown and you want intent-based routing. If you already have a productId from a prior find/quote step, pass it here to skip routing overhead. Prefer this over calling individual PennyRail service endpoints directly when you need a single, stable entry-point for dynamic task dispatch at very low cost ($0.004 USDC).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:34:09.928Z","isFirstParty":false}