SDKs & examples
Python, Node, Postman and the CLI.
Python
Thin wrapper over the REST API; no generated models, so the response shape is never hidden from you.
from bym import Client
bym = Client(api_key=os.environ["BYM_KEY"])
rows = bym.query("companies-house-uk", filters={"state": "Maharashtra"}, limit=500)Node / TypeScript
Same surface, typed responses and cursor iteration.
import { Client } from "@bymdata/sdk";
const bym = new Client({ apiKey: process.env.BYM_KEY! });
for await (const row of bym.query("companies-house-uk", { filters: { state: "Maharashtra" } })) console.log(row.gstin);Postman
Import the collection, set BYM_KEY as an environment variable, and every endpoint works against the sandbox.
CLI
Three commands cover most use: login, query, export.
bym login --key $BYM_KEY
bym query companies-house-uk --state Maharashtra --limit 100 --format csv > companies.csvHonesty note
SDK packages are published when the API is public. Until then these pages show the exact REST calls the SDKs will wrap — nothing here is imaginary.
Missing something? Ask for API access and we answer in writing within 24 hours.