# CodePulse API – Phone Messages Lookup

> CodePulse API – Phone Messages Lookup is a paid API for AI agents from codepulse-api.hahavoid0.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Retrieves recent SMS messages received by a public phone number, including sender and message text

## Facts

- Endpoint: POST https://codepulse-api.hahavoid0.workers.dev/phone/messages
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/codepulse-api-phone-messages-lookup-c06a0a55
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_81JArKE1OadenCxdbTF-G

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability codepulse-api-phone-messages-lookup-c06a0a55 -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Queries public SMS verification boards to retrieve recent OTP codes.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "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."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/codepulse-api-phone-messages-lookup-c06a0a55/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from codepulse-api.hahavoid0.workers.dev](https://www.zero.xyz/host/codepulse-api.hahavoid0.workers.dev/llms.txt)
