Dashboard

Manage your Cairo Coder API key and track your token usage based on your Cairo Lang generations.

Loading your API key...

How to Use Your Cairo Coder API Key

cURL Example
curl -X POST "https://api.cairo-coder.com/v1/chat/completions" \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{
    "messages": [
      {
        "role": "user",
        "content": "Write a simple Cairo contract that implements a counter"
      }
    ]
  }'

Check our documentation for more details on how to use Cairo Coder.

Service sunset notice: the hosted Cairo Coder service, including the API at api.cairo-coder.com, will be discontinued on July 31, 2026. Cairo Coder remains open source and available for self-hosting on GitHub.