Build a crypto and DeFi dashboard
For: fintech and crypto app builders, newsletter writers and analysts who show prices and protocol size. One run is 2 calls and 7 credits.
Get an API key Run a step free
The job
A dashboard needs the price, rank and market size of a coin next to the size of the protocols built on it, in one consistent shape, refreshed on your schedule.
Web data or web intelligence?
Raw market pages mix charts, ads and tables you must parse and re-parse. Structured answers give you the coin's price, rank, market cap, volume and 24-hour, 7-day and 30-day changes as numbers, and a protocol's total value locked and description as fields, so a chart is one request away.
The calls, in order
| Step | Call | What it gives you | Credits | Docs |
|---|---|---|---|---|
| 1 | POST /v1/crypto/coingecko/coin | the coin: price, rank, market cap, volume, supply, changes over 24 hours, 7 and 30 days | 2 | Call and code |
| 2 | POST /v1/crypto/defillama/protocol | the protocol: description, token, total value locked, value by chain | 5 | Fields |
What one run costs
fact The credits per call are the catalog's: 2 + 5 = 7 per run, so 7,000 credits per 1,000 runs. calculated At the plan prices on the pricing page that is about $55.72 per 1,000 runs on Production and $68.60 on Builder (plan price divided by its monthly credits, times the credits). The Free plan gives 100 credits a month with no card.Formula
Your runs a month
Real responses, step by step
fact Captured from https://api.foxapis.com on 19 November 2026 with the documented sample input of each call; every value below is from that response, shortened where long. The nightly check on the status page lists each of these calls as working.
Step 1: POST /v1/crypto/coingecko/coin
The input: {"coin_id":"bitcoin"}. A real response had these fields.
| Field | Value in that response |
|---|---|
coin_id | bitcoin |
name | Bitcoin |
symbol | BTC |
rank | 1 |
price_usd | 62,529 |
price_change_24h_pct | -2.278 |
curl -X POST 'https://api.foxapis.com/v1/crypto/coingecko/coin' \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"coin_id":"bitcoin"}'
Step 2: POST /v1/crypto/defillama/protocol
The input: {"protocol":"aave"}. A real response had these fields.
| Field | Value in that response |
|---|---|
protocol | aave |
name | Aave |
chain_count | 0 |
token | AAVE |
token_address | 0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9 |
gecko_id | aave |
curl -X POST 'https://api.foxapis.com/v1/crypto/defillama/protocol' \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"protocol":"aave"}'
All of it as one script
The same 2 calls chained, with a key placeholder. Swap the inputs for your own.
// 2 calls, one job run. Put your key in YOUR_API_KEY.
const KEY = "YOUR_API_KEY", BASE = "https://api.foxapis.com";
async function call(method, path, input) {
const url = BASE + path + (method === "GET" ? "?" + new URLSearchParams(input) : "");
const r = await fetch(url, { method, headers: { Authorization: "Bearer " + KEY, "Content-Type": "application/json" }, body: method === "GET" ? undefined : JSON.stringify(input) });
if (!r.ok) throw new Error(path + " answered " + r.status);
return r.json();
}
const step1 = await call("POST", "/v1/crypto/coingecko/coin", {"coin_id":"bitcoin"}); // the coin: price, rank, market cap, volume, supply, changes over 24 hours, 7 and 30 days
const step2 = await call("POST", "/v1/crypto/defillama/protocol", {"protocol":"aave"}); // the protocol: description, token, total value locked, value by chain
console.log({ step1, step2 });
What you could build
- A watchlist table: price, rank and 30-day change for the coins you cover
- A protocol card: total value locked next to the token's price
- A daily snapshot you keep, to chart your own history
Limits, plainly
Prices and sizes are as of the call. We tested one coin and one protocol on 19 November 2026; each coin or protocol is its own call.
Field lists and the rest of each data type: Every crypto field. Single calls with code in six languages: task APIs.
Other jobs: Track a product's open-source and launch momentum · Write a biomedical research brief · Analyse players and games for a gaming community · Watch artists for a label or a playlist curator · Give an AI agent structured answers instead of raw pages · Enrich a lead list with company and developer signals · Check a UK company and who controls it · Compare your app with a rival's on both phone stores · Profile a creator before a sponsorship · Check an open-source model and its repository before you adopt it · Profile a developer expert before you hire or sponsor · Check a person's claims before you hire or partner · Score a candidate against a role you describe · Prepare a sales brief on a company and score a prospect's message · Check how AI assistants show your domain · Research an investor before you pitch.
Source: live calls to https://api.foxapis.com on 19 November 2026. Values reflect that moment and those inputs. Credits per call are the catalog's.
How we calculate
- Cost per run and per 1,000 runs: The credits of each call in the run, added up (the catalog's credits per call), times 1,000 for 1,000 runs.
- Dollar figures: The plan's monthly price divided by its monthly credits, times the credits. Prices come from the plans file at build time and are never typed.
Data: the FoxAPIs catalog and plans, read 19 November 2026. Every other figure on this page is copied from the record, not calculated by us.
Run this free, then pay per call
Free to start: 100 credits, no card. Then from $10. Credits you buy never expire. Use them at your own pace. Get my free key
One call costs 1 credit. That is $7.96 per 1,000 calls on the Production plan and $9.80 on Builder (plan price divided by its monthly credits). The Free plan gives 100 credits a month with no card.
Building an AI agent?
- The FoxAPIs MCP server gives your agent every tool through one connection.
- Per-call pricing in credits: you pay for the calls your agent makes, with no seats.
- Free plan: 100 credits a month, no card, no monthly fee.