{"uid":"cap_81JArKE1OadenCxdbTF-G","slug":"codepulse-api-phone-messages-lookup-c06a0a55","name":"CodePulse API – Phone Messages Lookup","description":"Queries public SMS verification boards to retrieve recent OTP codes.","url":"https://codepulse-api.hahavoid0.workers.dev/phone/messages","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["phone"],"properties":{"phone":{"type":"string","description":"Target public phone number"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"result":{"messages":[{"date":"1 min ago","from":"Google","text":"G-123456 is your verification code."}]},"warnings":[],"supported":true,"confidence":"high","data_as_of":"2026-06","disclaimer":"Informational support only. Not legal, tax, medical, veterinary, or financial advice. Verify with the cited official source or a qualified professional before acting."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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_D2C8iTB3h24Lfs-nLYmqb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves recent SMS messages received by a public phone number, including sender and message text","exampleAgentPrompt":"Can you check what recent SMS messages have been received by the phone number +1-555-867-5309? I want to see the sender and message text.","exampleUseCases":[{"title":"Retrieve OTP verification code","prompt":"Check the recent SMS messages for the phone number +14155552671 — I'm expecting a verification code from Google and want to see if it arrived."},{"title":"Monitor disposable number inbox","prompt":"Look up all the recent text messages received by +447911123456 and show me who sent them and what they said."},{"title":"Confirm account registration SMS","prompt":"Can you fetch the latest texts sent to +15005550006? I just signed up for a service and want to confirm their welcome SMS came through."}],"resultDescription":"Returns a list of recent SMS messages received by the specified phone number, each including the sender name, message text, and relative timestamp (e.g. '1 min ago'). Also includes a confidence level, data freshness date, and any warnings or disclaimers about the informational nature of the data.","failureModes":["Phone number not found or unsupported — returns supported:false with low confidence","Invalid phone number format — may return an error or empty message list","No recent messages available — returns empty messages array","Rate limiting or payment failure — request rejected before processing","Private or non-public number — data may be unavailable or incomplete"],"whenToPreferThis":"Use this endpoint when you need to programmatically retrieve recent SMS messages received by a public or disposable phone number, particularly for checking verification codes, monitoring disposable inboxes, or confirming that expected messages arrived. Pay-per-call with no API key required makes it ideal for low-frequency, on-demand lookups via x402 USDC micropayments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:55:00.626Z","isFirstParty":false}