Developer API

One endpoint for comparisons, yes or no, and scoring. Send the facts you have and get back probabilities, including a check on whether the facts were enough.

20 free decisions per API key each UTC day. No account. Use your key from a server, never in public client code.

Get an API key

Your key

Make one in this browser. Cloudflare checks the browser once; your server then sends the key as a Bearer token. Ask To It stores only its fingerprint.

Create a key

Two new keys per IP each day. The key is linked to this browser’s pass, so credits work everywhere: paste it on Your pass on any device, use it in the API, or plug it into MCP.

Checking your browser…

Make a call

Send this from your backend. The response includes this call’s measured processing time and today’s API average.

POST /v1/decisions
curl https://askto.it/v1/decisions \
  -H "Authorization: Bearer $ASKTO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "mode": "choice",
    "question": "Should our team build search or use a hosted service?",
    "context": "Two engineers. Launch in three weeks. No search specialist. Budget under $200 a month.",
    "options": ["Build it", "Use a hosted service"]
  }'

Decision formats

choice takes 2–6 distinct options. noul returns a yes probability. score takes three ordered levels.

Read the result

Every successful response includes signal, result, contextSufficiency, and timing.processingMs. A low context score asks for more facts.

Stress tests

Set "depth":"stress" to test stability. It costs 5 pass credits. Standard reads use the 20 free API calls first, then 1 credit each.

MCP server for agents

Ask To It is a remote MCP server. Claude, Cursor, VS Code and other MCP clients can weigh decisions, triage batches, rank options and check actions with the same key and the same credits.

Claude Code
claude mcp add --transport http askto https://askto.it/mcp \
  --header "Authorization: Bearer $ASKTO_API_KEY"
Any MCP client (JSON config)
{
  "mcpServers": {
    "askto": {
      "type": "http",
      "url": "https://askto.it/mcp",
      "headers": { "Authorization": "Bearer askto_api_…" }
    }
  }
}

weigh_decision

Compare, yes/no or score. Returns the spread, the signal and context sufficiency. Free allowance first, then 1 credit.

stress_test_decision

Re-runs with options reversed and each fact left out, then names the pivotal fact. 5 credits.

triage_batch

Scores 1 to 100 items on the same three levels, such as low, medium and high urgency, and sorts them by the top level. 1 call per item.

rank_options

Orders 2 to 20 options with a score each. 1 call up to 6 options, at most 5 calls for 20.

criteria_matrix

Scores 2 to 6 options on 2 to 6 weighted criteria and adds up a weighted ranking. 1 call per criterion.

check_before_acting

Weighs proceed or hold before an agent acts, with a reversed-question check. It is a model judgment and gives no safety guarantee. 2 calls.

get_usage

Free calls left today and the linked pass balance.

Every call uses the key’s free daily allowance first, then 1 pass credit. When credits run out, the tool result includes a top-up link for this key’s pass.

Streamable HTTP, stateless, JSON responses. Supports protocol versions 2026-07-28 back to 2025-03-26.

Limits and endpoints

Limits

20 free standard decisions per key per UTC day. Free calls also share the website's per-IP and site-wide caps. Invalid input returns 400, missing or revoked keys 401, empty pass credits 402, and a free limit 429. Billing errors include a topUpUrl that adds credits to the key’s pass. Provider failures do not spend pass credits.

Other endpoints

GET /v1/usage
Your free calls left and pass balance. Bearer key required.
GET /v1/metrics
Today’s measured averages and sample counts. Public.
DELETE /v1/key
Revoke this key. Bearer key required.
POST /v1/triage
Score up to 100 items on three levels. 1 call per item.
POST /v1/rank
Rank 2 to 20 options. 1 to 5 calls.
POST /v1/matrix
Options against weighted criteria. 1 call per criterion.
POST /v1/check
Proceed or hold before an action. 2 calls.
POST /mcp
Remote MCP server. Bearer key required for tool calls.