Narro docs
Loading…
From creating your account to your first live call. Your sandbox key is free and works at once. The key is the only credential: Authorization: Bearer against one base URL, with no key id and no request signing to set up.
Create your account at thenarro.com/signup and choose Partner (Building on Narro). Enter your organization name, your name and your email (or continue with Google), and verify your email. Your org is created straight away in the sandbox.
Already have a Narro account? Sign in, open the same page, choose Partner (Building on Narro) and enter your organization name. The partner account is added to the account you have. Anyone else on your team joins by invite from your org's Owner.
You land in the Partner Hub at partner.thenarro.com. There is no separate sign up there: the Hub works with the account you just created. Nothing has to be switched on before you start: creating your first API key turns the API on for your org, and you can add Programs the same way at any time. Your Owner can invite an Admin or a Developer at any time, and they can finish the setup while the Owner sets up the organization profile and billing. You can come back any time through thenarro.com/go/partner_hub, which signs you in without asking again.
Open Data API setup in the Hub (partner.thenarro.com/setup/api) and press Create sandbox key. An Owner, Admin or Developer can, and no second factor is asked for unless your org requires one for every member. You have one sandbox key. Its secret can be seen in the Hub at any time, so you cannot lose it. Turning the API on never makes a key by itself.
Sandbox keys start with narro_pk_test_. They only ever see the sandbox dataset and are free. See Authentication and keys.
The setup page shows your .env with the sandbox key filled in. It is exactly two names, the same in the sandbox and live: NARRO_DATA_API_KEY and NARRO_DATA_API_BASE_URL. The base URL is the same for both; the key decides whether a call reaches the sandbox dataset or live data. No key id or partner id is needed.
NARRO_DATA_API_KEY=narro_pk_test_<your-key>
NARRO_DATA_API_BASE_URL=https://api.thenarro.com/data/v1Check the connection first. Any key works, with any scope, and the call changes nothing:
# Run in the folder that holds your .env
set -a && . ./.env && set +a
curl -s "$NARRO_DATA_API_BASE_URL/ping" \
-H "Authorization: Bearer $NARRO_DATA_API_KEY"{
"ok": true,
"key_id": "key_test_7F3K-9Q2M-X",
"environment": "test",
"product": "api",
"partner_id": "po_example",
"partner_number": "N1234567",
"credential": "partner_key"
}The answer names the key for your information; your code never needs the key id. The Hub turns from waiting to connected within seconds of your first successful call. Then read who you are:
curl "$NARRO_DATA_API_BASE_URL/me" \
-H "Authorization: Bearer $NARRO_DATA_API_KEY" \
-H "Accept-Version: 2026-10-12"{
"ok": true,
"requestId": "req_example",
"data": {
"subject": { "partnerId": "po_example" },
"client": { "id": "pk_example", "name": "My test key" },
"scope": ["companies:read", "network:read"],
"listingIds": []
}
}Then try a sandbox company or a capability from the endpoint reference. Calls need no signature. The only signed writes are POST /outcomes and POST /intake/batches, which use your org's signing secret: see Outcome write-back and Intake.
The setup page offers one file, SETUP.md, made for your key. It is a client spec: you, or an AI coding agent, add ONE file to your project, narro.ts, narro.js, narro.py or your stack's usual client location, with one function per endpoint, named after the operation, with arguments named exactly as the request fields. It reads only the two names in your .env, sends the key and the Accept-Version header, handles JSON, typed errors, paging, timeouts and retries, and takes { signingSecret } only on the two signed writes. Nothing else in your project changes: no sign-in, auth, routing or UI. You call the functions where you choose.
For a sandbox key the file holds the secret, so keep it out of version control. Using an AI agent? Give it the file and the prompt the Hub shows beside the download:
Here is my Narro Data API setup file. Follow its "For AI agents" section: create one Narro client file in my project (narro.ts, narro.py or my stack's equivalent) with the functions it lists, add the two .env values (NARRO_DATA_API_KEY and NARRO_DATA_API_BASE_URL), run narroPing() to confirm it works, and don't change any existing code, sign-in or routes. Then tell me which functions I can call.Press Validate setup on the setup page. One call checks that the sandbox key is active, the address is reachable, the key's scopes cover the Data API and your platform has called the sandbox, plus your webhook when you have one (optional). Every failed check says what to fix, and the last passed result is kept.
There is no free usage on live keys. Choose a plan, or add a card and make a first top-up that funds your balance, in the Hub under Billing. Card details go straight to our payment processor and never touch Narro's servers. Prices, plans and tiers are on Pricing and tiers, and your own are in the Hub.
The Hub shows what going live needs: your organization set up (profile and billing), a successful call with your sandbox key and a passed Validate setup. Webhooks and a second factor are never required. An Owner or Admin presses Create live key (narro_pk_live_) and names it. Before the first one, your org accepts the Partner Hub Terms of Use and the Data Processing Agreement (partner.thenarro.com/terms) with one checkbox in the same step. No two-step verification is needed, unless your org requires a second factor for every member. A Data API live key works as soon as it is made. Its secret is shown once, and you can have up to 5 live keys.
Replace the value of NARRO_DATA_API_KEY with the live key. Nothing else changes: the same base URL, the same paths and the same response shapes, now with real data, within each user's consent and your scopes. Watch requests, errors and rate limited calls per key in the Hub. Your limits follow your tier, which moves up on its own as your usage grows.
coverage_required with the next step. After a failed payment, live calls pause with 402 billing_required until the payment method is updated. An org Narro has paused gets 403 partner_paused. Test keys keep working in every case.Every org has a partner number, an N and seven digits such as N1234567, shown in the Hub and in the answer to GET /ping. Give it, with the request id of a failed call and the public id of the key, when you contact Narro support from the Hub. Never send a key secret.
The Events API is not open to partners yet. The Events API page describes how it will work. When it opens it follows the same rules as the Data API: one sandbox key, two values in your .env and going live by swapping the key.