About the Bugcrowd Hacker API
The Bugcrowd Hacker API lets hackers work with the Bugcrowd platform programmatically. With this API, you can:
- List the engagements you can take part in, and get the details and scope of a single engagement
- Create submission drafts
- List your submissions, with filtering, sorting and pagination
- Retrieve the details and activity history of a submission
Base URL
All requests are made to:
https://hacker-api.bugcrowd.com
Every endpoint path starts with the version prefix /v1, for example https://hacker-api.bugcrowd.com/v1/engagements.
Prerequisites
To use the Hacker API you need:
- A Bugcrowd hacker account with access to the Hacker API
- A verified identity. Requests from accounts without a verified identity are rejected with
403 identity_not_verified. - An API token with the scopes required by the endpoints you call. See Authentication.
Accounts with a platform-level ban can’t use the API. Engagements from organizations or programs you are banned from are not returned.
Quick Start
- Create an API token from the API Credentials page in your account menu (
https://bugcrowd.com/settings/api_credentials). See Authentication. -
Copy the token shown after you generate it. It is a single value that already starts with the word
Token(it is not your Bugcrowd username and password). Store it in an environment variable:export HACKER_API_TOKEN='Token AbC123dEf456:xYz789gHi012jKl345' -
Check that the token works:
curl --header "Accept: application/json" \ --header "Authorization: $HACKER_API_TOKEN" \ 'https://hacker-api.bugcrowd.com/v1/health'A working token returns
{"status": "ok"}. -
List the engagements available to you:
curl --header "Accept: application/json" \ --header "Authorization: $HACKER_API_TOKEN" \ 'https://hacker-api.bugcrowd.com/v1/engagements'
Next Steps
- Review Authentication - Create a token and authenticate your requests
- Read API Headers - Understand the headers to send
- View Usage Guidelines - Pagination, errors and rate limits
- Read about Versioning - How the API is versioned
- Browse Full API Reference - Complete endpoint documentation