Quickstart

Make your first Wire call in under a minute.

1. Get an API key

Sign up at openwire.sh and create a key in the console under API keys. Keep it secret; it's shown only once.

2. Make a call

Wire actions run as async tasks. You submit a task and poll the job for its result.

# submit a task
curl -X POST https://api.openwire.sh/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "amazon.search_products",
    "params": { "query": "mechanical keyboard", "limit": 5 }
  }'
# → { "job_id": "job_a8f3c2", "status": "queued", "poll": "/v1/wire/jobs/job_a8f3c2" }
# poll for the result
curl https://api.openwire.sh/v1/wire/jobs/job_a8f3c2 \
  -H "X-API-Key: $ANAKIN_API_KEY"
# → { "status": "completed", "latency_ms": 178, "credits": 2,
#     "result": { "items": [ { "title": "Keychron Q1 Pro", "price": 199.00 } ] } }

3. Find more actions

Browse the Catalog to discover the sites and actions available, each with its params, return schema, and per-call credit cost.

SDKs

Prefer a typed client?

pip install anakin-sdk      # Python
npm install @anakin-io/sdk  # TypeScript