Getting started with Prep
1. Choose an interface
Use HTTP directly with cURL or fetch, or install the JavaScript/TypeScript client.
2. Check the endpoint
The public testnet base URL is https://zeer.endpx.cloud/api/prep.
| Route | Check |
|---|---|
GET /height | Network, available range and readiness |
GET /capabilities | Supported fields, filters and bounds |
3. Build a query
Choose a starting block, optional exclusive end, public transaction filters and field selection. Start with headers or metadata; request raw/decoded payloads when your application needs them.
4. Process the response
Read data.blocks and data.transactions. Continue with the same request plus its returned cursor until cursor is null. Empty matches can still advance the scan.
See Query & response for the format and Troubleshooting for failures.
For a complete script, start with Analyzing Address Outputs or Inspecting Transactions.