API Documentation
Programmatic access to the llms.services AI Visibility Toolkit.
Getting Started
- Create an account at llms.services if you haven't already.
- Generate credentials: Go to your Account dashboard, navigate to API Keys, and generate a new key pair.
- Make requests: Use your new API key and secret in the
Authorizationheader.
Authentication
The API uses Bearer token authentication. Your credentials consist of a key and a secret separated by a colon. Keys always begin with llms_k_ and secrets with llms_s_.
Authorization: Bearer <api_key>:<api_secret>Keep your secret secure. Do not expose it in client-side code or public repositories.
Base URL
All API requests should be prefixed with the following base URL:
https://llms.services/_api/v1Endpoints Reference
Error Codes
| Code | Status | Meaning |
|---|---|---|
400 | Bad Request | Missing required parameters or malformed JSON body. |
401 | Unauthorized | Invalid API key or secret. Ensure the Authorization header is correct. |
402 | Payment Required | Insufficient credit balance to run the scan. |
404 | Not Found | The requested resource (e.g., site or scan) does not exist. |
500 | Internal Server Error | Something went wrong on our end. Please try again later. |
Usage Policy
There are no hard rate limits on API requests. Your usage is governed entirely by your credit balance — as long as you have credits, you can make requests.
- Scanning endpoints deduct credits based on pages crawled and files generated.
- Read-only endpoints (status, results, sites, balance, schedules) are free.
Credits & Billing
While llms.txt can be generated for free via the web dashboard (up to 3 scans/day, 1 domain), API access always requires credits for all scan types. Triggering a scan via /v1/scan/start deducts credits from your account balance.
If your balance is insufficient, a 402 Payment Required error is returned. You can top up by visiting the Pricing page.
Enterprise & Custom Needs
Need higher throughput, dedicated support, or custom integrations? We offer tailored enterprise plans for teams and agencies.
Contact us at support@llms.services