Scrapivore
Docs menuAuthentication
Get started

Authentication

Every API call except registration, login and request templates needs your token in the Authorization header:

Authorization: Token YOUR_TOKEN

Tokens don't expire. Keep yours secret: anyone who has it can send requests on your account.

Get a token from the API

POST/api/auth/register/
Create an account. Body: username (required), password (required, 6+ characters), email (optional). Returns token and user with status 201.
POST/api/auth/login/
Body: username, password. Returns the same shape. Wrong credentials return a 400 with {"detail": "invalid credentials"}.
GET/api/me/
Your user, token, today's count of successful requests, total requests and success rate.

Registration and login are limited to 10 calls per minute per IP.