MagnetAPI.org API Paste your MagnetAPI System Key or User API Key to authorize requests. Plain-English Documentation

MagnetAPI.org Customer API Documentation

Customer documentation mode

Use https://api.magnetapi.org as the API base. Existing OpenAI and Anthropic SDK users normally only need to replace the base URL and API key. Your permanent System Key and every active User API Key work across every supported model and customer endpoint listed below, with usage billed to the same wallet at the live internal token rate.

This public reference contains customer endpoints only. Provider administration, organization management, training, media generation, and hosted storage products are not part of the MagnetAPI coding-model service.

Download MagnetAPI SDK v1.1.0

The public SDK bundle includes typed Python, JavaScript, and TypeScript clients, automatic retries, request-id diagnostics, framework examples, streaming helpers, this customer OpenAPI schema, and explicit methods for every endpoint shown below.

python -m pip install https://magnetapi.org/downloads/magnetapi_sdk-1.1.0-py3-none-any.whl
npm install magnetapi-sdk

API cost

10% of standard cost

All supported inference endpoints shown on this page are offered at 10% of the standard direct-provider cost.

Auth

Send your System Key or an active User API Key as a bearer token.


      

OpenAI-Compatible

Use Chat Completions or Responses-style routes for GPT-5.6 and compatible coding tools.


      

Claude-Compatible

Use Anthropic Messages routes for Claude Code clients and local coding tools.


      

Interactive API Request Builder

Select a public customer endpoint, review the JSON, and run a request using the key in the authorization bar. The builder never sends your key anywhere except https://api.magnetapi.org.

Ready
Response output and request-id diagnostics will appear here.

SDK Release Notes

v1.1.0 - 20 July 2026

v1.0.0 introduced the public Python and JavaScript clients with complete customer endpoint coverage and streaming helpers.

For support, include the request ID returned by the SDK or builder. Do not send your System Token.