Docs

Base URL: https://api.algoreveal.com. Machine-readable description: OpenAPI 3.1, llms.txt.

Free endpoints

Decimal values (prices, R, ratios) are JSON strings, never floating-point numbers.

Paying with x402

  1. Call a paid route without payment. The answer is HTTP 402 with a PAYMENT-REQUIRED header: scheme exact, network eip155:84532, asset USDC 0x036CbD53842c5426634e7929541eC2318f3dCF7e, amount in base units (6 decimals) and the receiving address.
  2. Sign the payment with your own wallet using an x402 client and call again with the PAYMENT-SIGNATURE header.
  3. On success the answer is 200 with the data and a PAYMENT-RESPONSE header. Payment is settled only when the data is delivered (status below 400); the service never holds your funds.

Verifying a signal

  1. Fetch the public keys: GET /.well-known/signals-key. Pick the key whose key_id equals the payload's key_id.
  2. Signature: the payload bytes are returned exactly as signed (canonical JSON). The signed message is the context prefix followed by those bytes: agent-signals/v1/signal\n for signals, agent-signals/v1/event\n for events. Verify the Ed25519 signature (base64url, no padding) over that message.
  3. Commit: once revealed (after 24 hours) GET /v1/public/history returns the salt. Check that hex(SHA-256(payload bytes followed by the salt bytes)) equals commit_hash.
  4. Merkle anchoring: commit hashes are grouped per hour into a Merkle root written to Base. GET /v1/public/proofs/{id} returns the leaf, the sibling path, the root and the anchor of a revealed id; recompute the root from the leaf and compare it with the on-chain value.
  5. Commit wallet: the anchor transaction must be sent from the published commit wallet of its chain. Published commit wallets (public addresses, never keys):
    • eip155:84532: 0x15afaf40626a3971ec3315415fe3a63705bc4dec
    The same list is in GET /.well-known/signals-key (commit_wallets). A change of commit wallet is announced publicly with a date.

Performance numbers

Statistics are computed by the evaluator from public market data (never from the module's own reports), only over signals that are revealed, and include losing, expired and cancelled signals. See performance and GET /v1/public/performance/summary.