Skip to main content
Back to API Portal

API Documentation

Everything you need to integrate with the ViceForge Data API.

Interactive API Explorer

Try out every endpoint directly in your browser with our Swagger UI.

Open Swagger UI

Authentication

All public data endpoints require an API key passed via the X-API-Key header.

curl -H "X-API-Key: vf_live_your_key_here" \
  https://api.rddm.viceforge.app/api/v1/public/locations

1. Create an account at viceforge.app

2. Go to API Dashboard and generate a key

3. Copy your key immediately (shown only once)

4. Include it in every request as X-API-Key header

Rate Limits

TierPer MinutePer DayWebhooks
Free101000
Basic10010,0003
Pro1,000100,00010
EnterpriseCustomUnlimitedUnlimited

When rate limited, you'll receive a 429 response with Retry-After, X-RateLimit-Limit, and X-RateLimit-Remaining headers.

Error Codes

CodeDescription
400Bad Request — invalid parameters
401Unauthorized — missing or invalid API key
403Forbidden — tier too low for this endpoint
404Not Found — resource does not exist
429Too Many Requests — rate limit exceeded (check Retry-After header)
500Internal Server Error — contact support

Pagination

All list endpoints support pagination via query parameters:

GET /api/v1/public/locations?page=2&limit=20

Response:
{
  "data": [...],
  "total": 142,
  "page": 2,
  "pages": 8
}

Webhooks

Webhooks deliver real-time events to your server via HTTP POST. Available on Basic+ tiers.

Available events:

  • location.created — new marker added
  • location.verified — marker verified (5+ upvotes)
  • price.changed — economy price update
  • trend.detected — new trending topic
  • prediction.resolved — prediction answered

Manage webhooks via the API or your dashboard. Failed webhooks are retried 3 times before being disabled.