https://api.domainscraper.online/keys/
The /keys/
endpoint allows customers to manage their API keys, which can be used as an alternative authentication method for accessing the Domain Scraper API. Customers can create, list, and delete API keys and configure their permissions (read
, write
, or readwrite
) to control access levels.
GET
Authorization
: Bearer <your_jwt_token>
or X-Key: <your_api_key>
Status Code 200 (OK):
[
{
"api_key": "abcd1234-5678-90ef-ghij-klmnopqrstuv",
"privileges": "readwrite",
"created_at": "2024-12-01 12:00:00",
"last_used": "2024-12-25 15:30:00"
}
]
Status Code 401 (Unauthorized):
{
"error": "Unauthorized"
}
POST
Authorization
: Bearer <your_jwt_token>
or X-Key: <your_api_key>