{"uid":"cap_up__DXvKdtFqE2SMLL431","slug":"coin-railz-portfolio-optimization-3bf58c6d","name":"Coin Railz Portfolio Optimization","description":"AI portfolio allocation and rebalancing","url":"https://coinrailz.com/x402/portfolio-optimization","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"query":{"type":"string","description":"Query parameter for the service"}}},"responseSchema":{"type":"application/json","format":"json","example":{"result":"Service executed successfully","service":"portfolio-optimization","success":true,"timestamp":"2026-02-07T01:39:13.023Z"}},"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":"unknown","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_PwSJ0A6QTLD3hKmZN4nlm","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":"AI-driven portfolio allocation and rebalancing across crypto networks for autonomous AI agents","exampleAgentPrompt":"Run a portfolio optimization for my AI agent 'AlphaBot' (agent ID: agent-7x9k2) across Ethereum and Base networks and give me the recommended allocation.","exampleUseCases":null,"resultDescription":"Returns a JSON object confirming the optimization job was executed, with a success flag, a service identifier ('portfolio-optimization'), a result message, and a UTC timestamp of when the computation ran.","failureModes":["Missing required agentId returns validation error","Invalid or unknown network identifiers may cause partial results or errors","Payment failure (insufficient USDC) returns 402 Payment Required","Service may return generic success without detailed allocation data if optimization logic is incomplete","Timeout or server error returns non-200 status with error message"],"whenToPreferThis":"Use this endpoint when an AI agent needs automated, on-demand crypto portfolio rebalancing or allocation recommendations across one or more blockchain networks, paid per-call via x402 micropayment protocol. Prefer this over manual rebalancing or off-chain tools when operating within an autonomous agent workflow that already uses x402 for payments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:42:46.142Z","isFirstParty":false}