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.