What is the Rokapi API?
The Rokapi API is a REST API documented by an OpenAPI 3.1 specification. You call it with a personal key that you create in your settings.
The key is shown only once. Rokapi stores only a hash of it, and you can revoke it at any time. It acts with your exact role: it sees no more projects than you do, and if your access is removed, the key loses it on the next call.
What you can control
- Your visible projects, with your role and permissions on each one
- Crawls: create, start, track live, stop, resume
- Schedules: daily, weekly or monthly, which you can turn on or pause
- Data: schema, read-only SQL queries, a page’s content and HTML
- Segmentation: read and write category rules
- The SEO backlog: read the board, then create, edit, move and delete tickets
What you can do with it
Start a crawl after every release, straight from your deployment tool. Rerun the same SQL query every Monday and send the results to your dashboard. Turn an alert from your monitoring into a ticket in your team’s backlog.
Queries run on the same engine as the SQL Explorer, so a query you fine-tuned on screen can be rerun through the API.
Clear rules
120 requests per minute, per key. Lists are paginated, and SQL returns up to 1,000 rows per page.
A permission denial is explicit: the response names the required permission and the person to ask for it. A project the key can’t see responds as if it didn’t exist.
