Integrations

GetAllAPIs in JavaScript and TypeScript

Set up GetAllAPIs in JavaScript and TypeScript with one API key (Language).

  1. fetch (Node 18+, Deno, Bun, browsers via your backend)

    const res = await fetch("https://getallapis.com/v1/run/hackernews.search", {
      method: "POST",
      headers: {
        Authorization: `Bearer ${process.env.GETALLAPIS_API_KEY}`,
        "Content-Type": "application/json",
      },
      body: JSON.stringify({"query": "postgres", "limit": 10}),
    });
    const data = await res.json();
    console.log(data.cost_usd, data.output);

Keep the key on the server; do not ship it to browsers. A typed client is in sdk/typescript/getallapis-client.ts.

What you can call

127 live endpoints. By source: GitHub · Hacker News · Bluesky · Wikipedia · OpenAlex · SEC EDGAR · App Store · Exchange rates (ECB) · Email verification · Substack · Web scraping. Full list: API catalog.

Get an API key. New API keys come with $0.10 of free credit, no card required (limited to 2 keys per network every 30 days). Then add credits (packs from $10). No subscription; failed calls are refunded.

Get a free API key Try it in the playground

FAQ

What does GetAllAPIs add to JavaScript and TypeScript?

127 live data endpoints (GitHub, Hacker News, Bluesky, SEC EDGAR, Wikipedia, App Store, web scraping and more) behind one key, billed per call.

Where do I get the API key?

Create one on the dashboard. Keep it in an environment variable, not in code you commit.

What does a call cost?

The endpoint's price, shown on its page and returned as cost_usd. Discovery and quote calls are free; failed calls are refunded.