Home · Integrations · v0

Use FoxAPIs in v0.

v0 generates interface code you deploy as a project, so FoxAPIs belongs in a server route with the key in the project's environment variables. FoxAPIs adds sourced people and company facts, paid per call in credits (nothing is charged when a call returns nothing): what it can answer, prices.

Connect FoxAPIs to v0

Your key starts with fxp_. The REST address is https://api.foxapis.com; the MCP address for tools that accept one is https://foxapis.com/mcp.

  1. Add FOXAPIS_KEY to the project's environment variables in its hosting settings.
  2. Ask v0 for a server route that calls FoxAPIs (prompts below), and keep every call on the server.

A server-side call

// Server code (a route handler or a function): read the key from the environment, never from the browser.
const r = await fetch("https://api.foxapis.com/v1/find_email", {
  method: "POST",
  headers: { Authorization: "Bearer " + process.env.FOXAPIS_KEY, "Content-Type": "application/json" },
  body: JSON.stringify({ website: "acme.com", name: "Jane Example" }),
});
const data = await r.json();

Get a key at the sign-up page. The tools and the price of each call are listed on the MCP page; the REST reference is the developer docs and the whole API as a file is openapi.json.

Three v0 prompts that name FoxAPIs

Keep the key safe in v0

A rules file for v0

A plain-text file for the agent that writes your code: the key stays a server-side secret, calls are made from the server, every fact keeps its source, an empty field stays empty, and one real call with its real answer. Download foxapis-agent-rules.txt.

Put its text where v0 keeps standing instructions for a project (a rules or knowledge setting). The name and place of that setting are in v0's own docs; we did not confirm them for this page.

Start v0 from a template

Open-source starter apps that call FoxAPIs: a lead finder, a company check, a funding tracker and a Supabase edge function. Each one has a Deploy on Vercel link that asks for your key. foxapis-templates on GitHub

The one thing to know about v0

Generated client components run in the browser: never put the key in one.

FoxAPIs is not affiliated with or endorsed by v0. Config shapes are shown as that tool's own documentation describes them; where we did not run one, the page says so.

All integrations · MCP server · Developer docs