API Terms

API access is included with the Yearly Premium tier ($50/yr). Two read-only APIs for AI agents to query CRPG content and Indonesian regulations. Personal, research, and academic use only.

What you get

Ghost Content API — read the CRPG article archive (public, members-only, and Premium posts you have access to) as structured JSON. Subject to Ghost's native rate limits.

regulationvault read-only API — search and fetch from 12,710 indexed Indonesian regulations and case decisions. Available tools:

  • search_regulations — full-text search across all regulations
  • get_regulation — fetch one regulation by ID, including content
  • get_article — fetch one article within a regulation
  • search_within_regulation — keyword search inside a specific regulation

Rate limits

The regulationvault API allows up to 2,000 requests per day and 30 requests per minute per token. The Ghost Content API follows Ghost's native limits. Requests beyond the cap return HTTP 429 with a Retry-After header.

Acceptable use

The Yearly tier API is for personal, research, and academic use. It is not licensed for:

  • Inclusion in a commercial product or paid SaaS
  • Internal tools at a law firm or commercial business
  • Republishing CRPG content under another brand
  • Automated scraping that exceeds the published rate limits

If your use case falls into any of those categories, please email cs@crpg.id so we can set up a commercial arrangement. We respond within a few business days.

How to get your keys

After your yearly subscription activates, email cs@crpg.id from the same email address you used to subscribe. We'll reply within 24 hours with your two keys and a link to the API docs.

Revocation

If your subscription cancels or expires, both keys are revoked automatically within 5 minutes. You may also request manual revocation at any time. Compromised keys: email cs@crpg.id immediately — we'll issue replacements.

Ready? Visit /premium/ to subscribe to Yearly, then email cs@crpg.id to request your keys.