XFlux
Node.js

Node Twitter API for public read data

Call XFlux from Node with fetch: profiles, timelines, search. Same free tier as curl. For monitor webhooks in Express, see /twitter-webhook-nodejs. Longer guide: /docs/guides/nodejs.

Bearer key, JSON responses

Authorization: Bearer xflux_… against https://www.xfluxapi.com/api/v1.

No official X app approval

Self-serve key for public reads. Not for posting or DMs.

Agents can use MCP instead

npx @xflux/xflux-mcp-server — /mcp.

Minimal Node example

  1. 1

    Get a free key

    Register → Dashboard → API Keys. Details: /free-x-api.

  2. 2

    fetch a profile or search

    Use the snippet below. Count each successful call against the monthly quota.

  3. 3

    Add webhooks when you need push

    Monitors + Express verify: /twitter-webhook-nodejs.

fetch profile

const key = process.env.XFLUX_API_KEY;
const res = await fetch("https://www.xfluxapi.com/api/v1/users/x", {
  headers: { Authorization: `Bearer ${key}` },
});
const user = await res.json();
console.log(user);

FAQ

Is this the official twitter-api-v2 Node SDK?
No. This is the XFlux HTTP API from Node. Official X SDKs talk to developer.x.com products.
Python too?
Yes — /docs/guides/python and /twitter-webhook-python.
Rate limits?
/docs/limits — Free is 1,000 calls/month.

Related guides

Try account monitors free

Free includes 1 monitor and Dashboard hit history. Live webhook delivery starts on Starter ($19/mo).

Node Twitter API — Profiles, Search & Timelines | XFlux