← ArjitIndex

API

Authenticate every request with an API key (create one under API keys):

Authorization: Bearer aix_live_xxxxxxxx

Base URL https://index.smashhero.app/api/v1 · OpenAPI spec

POST/api/v1/index
Submit URLs for indexing.
curl -X POST https://index.smashhero.app/api/v1/index \
  -H "Authorization: Bearer aix_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{"urls":["https://example.com/a","https://example.com/b"],
       "mode":"AUTO","priority":"REGULAR","dripDays":0}'
Returns { submissionId, accepted, rejected, remaining }.
GET/api/v1/submissions/{id}
Submission status with per-state counts.
curl https://index.smashhero.app/api/v1/submissions/SUBMISSION_ID \
  -H "Authorization: Bearer aix_live_xxx"
GET/api/v1/urls
List URL jobs. Query: submissionId, status, limit, offset.
curl "https://index.smashhero.app/api/v1/urls?status=INDEXED&limit=50" \
  -H "Authorization: Bearer aix_live_xxx"
GET/api/v1/quota
Remaining credits and plan.
curl https://index.smashhero.app/api/v1/quota \
  -H "Authorization: Bearer aix_live_xxx"

Rate limit: 120 requests/minute per key. Errors return { "error": { "code", "message" } } with a matching HTTP status.