Developer documentation

TechLeads.fyi API

Integrate technographics and lead search into your product. Code examples are in English; endpoint names are not translated.

Checking sign-in…

Install

npm i @techleads.fyi/api
# global CLI (tlf + techleads)
npm i -g @techleads.fyi/api
# or one-off
npx tlf -d example.com

Use in code

import { TechLeads } from '@techleads.fyi/api'

const tl = new TechLeads({ apiKey: process.env.TECHLEADS_API_KEY })
const r = await tl.lookup('example.com')
console.log(r.technologies)

await tl.lookupBatch(['shopify.com', 'stripe.com'])
await tl.account()

CLI (tlf)

After install use npx tlf, tlf (global), or ./node_modules/.bin/tlf. Help: tlf -h

tlf login
tlf -d example.com
tlf -d example.com,x.com --format table
tlf -i domains.txt -o out.csv --format csv
tlf -d example.com --json
tlf -u

Default text: domain on its own line, then category + name (no confidence/version), plus spend.login opens the browser with a session link — paste the 6-character code from the terminal and approve. Key saved to ~/.config/techleads/config.json.

Flags

  • -d comma-separated domains
  • -i file, one domain per line
  • -o write to file
  • --format text|table|csv|json (default text)
  • --json full API JSON
  • --names technology names only
  • --key API key override
  • -u account email, name, credits