Generate a token in your SerpHunt account to retrieve project data through the REST API.
Generate a token
- Sign in to the SerpHunt dashboard with an account that can access the project.
- Open the account menu, find API access, and select Generate token.
- Copy the token and store it in a secrets manager or an environment variable
SERPHUNT_API_TOKEN. Keep it out of public messages and repositories.
Where to send requests
The base URL for the SerpHunt API is https://seo.serphunt.com/api/v1/. Start by checking authentication, then retrieve the IDs you need from the reference endpoints. A token has the same access permissions as its owner.
The SEO platform token and the WordPress application password are designed for different services.