{"uid":"cap_PNTKZJC3S1PPCenWax7j0","slug":"postwall-0000402-xyz-5c127386","name":"PostWall Vote Endpoint","description":"Pay $0.010 USDC to upvote or downvote a public post. The x402 signer wallet becomes the voter. Network: Base Mainnet. Each request sets that wallet's one active vote for the post.","url":"https://postwall.0000402.xyz/votes","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"post_id":{"type":"string","description":"Required id of the top-level post to vote on."},"username":{"type":"string","maxLength":32,"description":"Optional username to set or update for the signer wallet."},"direction":{"enum":["up","down"],"type":"string","description":"Required vote direction: up or down."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZetU1XAgB5qizsEqiBelo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Pay $0.01 USDC via x402 to cast an upvote or downvote on a public post, with the signer wallet recorded as the voter on Base Mainnet.","exampleAgentPrompt":"Upvote the PostWall post with ID 'abc123' for me — use my x402 wallet on Base Mainnet and pay the $0.01 USDC fee.","exampleUseCases":null,"resultDescription":"A confirmation that the wallet's vote has been recorded for the specified post, indicating whether it was set as an upvote or downvote. The response reflects the one-active-vote-per-wallet rule, so any previous vote by that wallet on that post is replaced.","failureModes":["Insufficient USDC balance in signer wallet — payment fails, vote not recorded","Invalid or non-existent post ID — endpoint returns an error","x402 signing failure or misconfigured wallet — request rejected","Network congestion on Base Mainnet causing delayed confirmation","Attempting to vote on a post that has been deleted or locked"],"whenToPreferThis":"Use this endpoint when an agent needs to cast or update a vote (upvote or downvote) on a specific PostWall post using a Base Mainnet wallet with x402 micropayment support. Prefer this over alternatives when the use case is on-chain voting with wallet-based identity and a $0.01 USDC cost per vote is acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:31:02.134Z","isFirstParty":false}