# Mekong Trade Intel — Crypto-Secure Random Integer & Hex API

> Mekong Trade Intel — Crypto-Secure Random Integer & Hex API is a paid API for AI agents from api.mekongtradeintel.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-25).

Generates a cryptographically secure random integer and hex value per call, suitable for salts, nonces, lotteries, and A/B assignments.

## Facts

- Endpoint: POST https://api.mekongtradeintel.com/rand?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-25
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mekong-trade-intel-crypto-secure-random-integer-hex-api-af4da7bb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nBY8DK2gDgwqryu70AAqN

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 mekong-trade-intel-crypto-secure-random-integer-hex-api-af4da7bb -d '<json body>'
```

Example prompt: Give me a crypto-secure random integer and hex value right now — I need it for a nonce in my signing flow.

## When to prefer this

Prefer this endpoint when you need verifiably crypto-secure randomness (not pseudo-random) for security-sensitive applications like nonce generation, salts, or fair lotteries, and you are already operating in an x402/Base USDC micropayment environment. It is not suitable when you need large batches of random numbers cheaply, as per-call pricing applies.

## Known failure modes

- Payment not received or insufficient USDC balance causes 402 error
- Malformed POST body missing required 'input' object returns validation error
- Service temporarily unavailable returns 5xx with no random output
- Network timeout with no response if upstream service is degraded

## How this service works

Random number API for AI agents — crypto-secure random int + hex per call, $0.001 USDC on Base. Salts, nonces, lotteries, A/B assignment.

## Output

Returns a cryptographically secure random integer and a random hex string per call, suitable for use as salts, nonces, lottery picks, or A/B assignment seeds.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mekong-trade-intel-crypto-secure-random-integer-hex-api-af4da7bb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.mekongtradeintel.com](https://www.zero.xyz/host/api.mekongtradeintel.com/llms.txt)
