Skip to main content

Create Account

1. Sign up

Go to cnpj-api.com/en/sign-up and create your account using one of the options:
  • Google — click the Google button to sign in with your Google account
  • Email — enter your email and receive a magic link
Sign up page
If you choose email, check your inbox (and spam folder) and click the link to complete signup.

2. Create an API token

After signing in, you will be redirected to the My Account page. To create your token:
  1. Click Create new token
  2. Choose a label to identify the token (e.g. my-app-production)
  3. Click Create
The token is shown only once. Copy and store it securely before closing the page.

3. Use the token

Add the token to your requests via URL parameter or HTTP header:
curl "https://api.cnpj-api.com/v1/cnpj/12345678000195?token=YOUR_TOKEN"
See Authentication for all available methods.

Managing tokens

My Account page with token management
On the My Account page you can:
  • Create new tokens
  • Rotate an active token (generates a new one, keeping the old one active until revoked)
  • Revoke a token to disable it immediately

Next steps