Examples
Sample Projects & Tutorials
End-to-end walkthroughs built from real, callable endpoints — no fabricated response shapes.
Build a daily FX rate tracker
- 1. Issue a sandbox token from Quick Start, or a full API key from your organization's Developer page.
- 2. Call GET /api/v2/fx?base=AOA to get the latest rate per quote currency.
- 3. Store the response on a schedule (e.g. a daily cron job) to build your own historical series.
- 4. Optionally subscribe to the fx_updated webhook event on a Developer Project to get notified in real time once that event type is wired to a live source (see WebhookGuide.md for today's coverage).
Pull the treasury yield curve for Angola
- 1. Call GET /api/v2/yields?country=AO to get the most recent stored yield-curve snapshot.
- 2. Pass a specific date query parameter to retrieve a historical snapshot, if one was recorded that day.
- 3. Combine with GET /api/v2/bonds?country=AO for the underlying instrument-level data.
List an organization's generated reports
- 1. Call GET /api/v2/reports with an organization-scoped API key.
- 2. Each report's generated_by field is null for system-automated reports, or a user id for human-requested ones.
See the API Explorer to run any of these live, or the full reference for every parameter.