Routescope APIRoutescope API
Quick Start Your First Call

Get Base URL and API Key

Copy the access endpoint from the console and create a business token

Base URL

  1. Sign in to Routescope and open the account center.
  2. Open Dashboard.
  3. Find the common API address or API endpoint area.
  4. Copy the address required by your client.
  5. Use the copied value as the Base URL in code, scripts, or client configuration.

For OpenAI-compatible calls, the Base URL commonly ends with /v1. Some tools, such as Claude Code with ANTHROPIC_BASE_URL, may expect the root domain instead. Follow the tool-specific guide.

Create an API Key

  1. Open Token Management.
  2. Click Add Token.
  3. Enter a token name, such as web-prod or agent-test.
  4. Configure group, quota, model allowlist, IP restriction, and expiration if needed.
  5. Save the token.
  6. View and copy the full secret.

Keep the secret in environment variables or protected configuration. Do not publish it in frontend code, screenshots, logs, or public repositories.

Authorization Header

Most OpenAI-compatible requests use a bearer token:

Authorization: Bearer sk-your-full-secret

If a client has a dedicated API Key field, paste only the full secret unless that tool explicitly asks for the complete header.

How is this guide?

Last updated on