API Docs
FlareForge exposes a public HTTP API on every component. All endpoints are GET or POST JSON, no auth required, rate-limited where it matters. Base URL is https://flareforge.io.
Flare Health
Realtime block time, FTSO participation, FDC proof volume, FAssets throughput. Data is indexed every 10 seconds and persisted in TimescaleDB.
/api/v1/network/overview?network=flareLatest block, gas price, active addresses, FTSO participation, FAssets TVL.
curl https://flareforge.io/api/v1/network/overview?network=flare
/api/v1/network/metrics?network=flare&metric=block_time_s&hours=24&bucket=5mTime-series for a single metric; buckets 1m / 5m / 15m / 1h / 1d.
/api/v1/network/ftso/providers?network=flare&limit=50FTSO provider leaderboard (last 30 days).
/api/v1/network/fassets/summary?network=flareAggregate FAssets metrics: TVL, active agents, mints/redemptions/liquidations.
Oracle Lab
FTSOv2 block-latency feeds catalog, price history, and strategy backtester. Feeds are sampled every 60 seconds.
/api/v1/oracle-lab/feedsList every active FTSO feed with the latest value and timestamp.
curl https://flareforge.io/api/v1/oracle-lab/feeds | jq
/api/v1/oracle-lab/feeds/{feed_id}/history?hours=24&bucket=5mTime-series history for a single feed. feed_id is the bytes21 hex string.
/api/v1/oracle-lab/movers?hours=24&limit=10Top gainers and losers over a rolling window.
/api/v1/oracle-lab/simulateRun a strategy backtester. Body: { feed_id, sources[{name,jitter_bps,weight}], aggregation, history_hours }.
Agent Monitor
FAssets agents on Flare mainnet. Each agent mints wrapped XRP (FXRP) against vault and pool collateral. Snapshots are captured every 60 seconds.
/api/v1/agentsAll currently tracked agents with the most recent collateral snapshot.
curl https://flareforge.io/api/v1/agents | jq '.agents[0]'
/api/v1/agents/{address}Detailed state for a single agent vault.
/api/v1/agents/{address}/history?hours=24Metric history (collateral ratio, minted UBA, status) for an agent.
CrossChain Sandbox
Generate mock Flare Data Connector proofs for local tests. Responses are structurally compatible with real FDC; on-chain verification will reject them.
/api/v1/sandbox/attestation-typesList supported FDC attestation types and their request / response body schema.
/api/v1/sandbox/attestation-types/{type_id}Get a single attestation type schema.
/api/v1/sandbox/generate-proofBody: { type_id, source_id, fields }. Returns { merkleLeaf, merkleProof[], response }.
Rate limits
POST /oracle-lab/simulate: 20 req / minute + 200 req / hour per IP, Redis-backed.- All other endpoints: soft-limited by Cloudflare edge rate limiting.
- The
X-Forwarded-Forheader from Cloudflare tunnel is the identity source; local dev uses the socket remote host.
Conventions
- All timestamps are returned in ISO 8601 with explicit UTC offset (
+00:00orZ). - Large integers (wei, UBA, minted amounts) are returned as
stringto preserve precision. - Network parameter is
flare(only mainnet is indexed right now). bucketvalues for time-series:1m,5m,15m,1h,1d.