New here? The Riza API executes untrusted Python, JavaScript, TypeScript, PHP and Ruby in a secure sandbox.

The Riza API is small but mighty. Endpoints accept JSON-encoded requests and return JSON-encoded responses. Standard HTTP codes are used to indicate success or failure.

API Libraries

We offer API libraries for Python, Node.js and Go, with more on the way. These libraries are generated and built using Stainless. Check them out!

OpenAPI

The Riza API is also documented via a public OpenAPI spec.

Connecting

The Riza API accepts HTTPS requests at api.riza.io.

Authentication

The Riza API uses API keys to authenticate requests. Include an API key in the Authorization header with a Bearer prefix.

Authorization: Bearer <api-key>

Manage your API keys using the Riza Dashboard.

Errors

The Riza API uses HTTP status codes to indicate success or failure. If a request fails, the response body will contain a JSON document with a message key:

{
  "message": "<description of the error>"
}