Authorization header. Tokens are tied to your OSM account, so all API activity is associated with your profile.
Get an API token
To generate a token, you need an OSM account. If you don’t have one yet, sign in at opensourcemalware.com/auth using your GitHub account or email address. Once signed in:- Go to your profile settings.
- Find the API tokens section.
- Generate a new token.
osm_ prefix — for example, osm_a1b2c3d4e5f6.
Use the token in API requests
Pass your token in theAuthorization header as a Bearer token on every request:
Rate limits
OSM enforces rate limits per account to ensure reliable service for all users. Limits are based on your account plan:| Plan | Requests per minute |
|---|---|
| Standard | 60 |
| Pro | 180 |
429 Too Many Requests response. See the rate limits reference for details on headers, retry behavior, and upgrading your plan.
Invalid or missing token
If your token is missing, malformed, or has been revoked, the API returns a401 Unauthorized response:
- The
Authorizationheader is not included in the request - The token was revoked or deleted from your profile settings
- The header value is malformed (for example, missing the
Bearerprefix)
401, verify that the header is formatted correctly and that the token is still active in your profile settings.
Tokens are scoped to your account. Do not share tokens across team members — each person should generate their own token so activity can be tracked accurately and tokens can be revoked independently.