Skip the plumbing tax.
Build, launch and monetize API products in a few lines of code. The API, CLI, MCP, SDK, docs, portal and Stripe billing are generated for you.
Sign in with GitHubnpx apis.dev init
Your brand only. Public prices. Paid straight to your Stripe.
GET /companies/acme.com
definition.tsoffer: { 'Company.get': }
curl https://companyfacts.apis.dev/companies/acme.com \ -H "Authorization: Bearer $COMPANYFACTS_KEY"
200 OK
X-Cost: price=0.002, currency="USD"0.002 USD a call
const { data, meta } = await api.getCompany('acme.com')200 OK
meta.cost: { price: 0.002, currency: 'USD' }0.002 USD a call
data, meta = api.get_company("acme.com")200 OK
meta.cost: {"price": 0.002, "currency": "USD"}0.002 USD a call
$ npx companyfacts companies get acme.com200 OK
price 0.002 USD · req_9fd1df32ff7df11f695a0.002 USD a call
tools/call "getCompany" { "domain": "acme.com" }200 OK
_meta.cost: { "price": 0.002 }0.002 USD a call
{ "domain": "acme.com", "employees": 240, "sector": "Software" }
Company.get12,400 × 0.00224.80
Company.search1,300 × 0.0056.50
Paid to your Stripe · October 202631.30USD
The plumbing tax.
To sell one API, you build ten other products first. Here you write one file, and the ten are generated from it.
import { define, secret } from 'apis.dev'
/** Any company by its domain, with its headcount and sector. */
export default define({
name: 'companyfacts', domain: 'companyfacts.apis.dev',
sources: {
firms: { origin: 'https: //firms.example.com', key: secret('FIRMS_KEY') },
},
Company: {
domain: { type: 'url!#', from: 'firms', map: 'website' },
employees: { type: 'number? ', from: 'firms', map: 'headcount' },
sector: { type: 'string? ', from: 'firms', map: 'industry' },
},
offer: { 'Company.get': 0.002, 'Company.search': 0.005 },
})Generated on https://companyfacts.apis.dev
API keysLive and Test,in /dashboard Rate limits429 with Retry-AfterMeteringX-Cost on every replyStripe billingcredits and plans,by Checkout Docs/docsSDKsnpm i companyfactsA CLInpx companyfactsAn MCP server/mcpA portal/dashboardA landing page/- Your APIdefinition.ts
Built by hand, they cost months before your first Customer, an API agents cannot find or call, and revenue left on the table.
Five things you can sell.
Run an API business.
npx apis.dev init
Sign in with GitHub
A live, priced API product under your name, earning from the first call.