Node.js

Language-specific examples for the middleware endpoint.

Request

Use your BridgeStackAPI key in the x-api-key header.

import fetch from "node-fetch";

await fetch("https://api.bridgestackapi.com/v1/<API_REFERENCE>", {
  method: "GET",
  headers: { "x-api-key": "YOUR_API_KEY" },
});