# Context.dev — Answers

Get Context.dev — Answers data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Context-dev, pass parameters such as json_format, mode, task, and retrieve structured data including title, returned credits consumed field, request identifier, and returned sources field to search interfaces and source review, and integration reference.

Documentation: https://openany.si/market/apis/context-dev/context-dev-answers/?offering=9872e11b-17f3-4dbf-aea8-3fd023d328eb
API ID: 9872e11b-17f3-4dbf-aea8-3fd023d328eb
Provider: context-dev
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/context-dev/v1/web/answers
Page update time: 2026-12-03T02:49:45.571Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
A billing credit measures provider usage. Credits consumed depend on the operation and request options; one credit is not necessarily one call.
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:49:44.751Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "usage",
  "priceMicroUsd": "2000",
  "rounding": "ceil",
  "unit": "credit",
  "unitQuantity": "1"
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Context.dev — Answers request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "additionalProperties": false,
      "description": "Research a natural-language task using web pages and company or people records, returning a structured answer with source URLs.",
      "properties": {
        "json_format": {
          "additionalProperties": {},
          "description": "Example answer object, not JSON Schema. Up to 8 levels, 500 values, and 16000 characters; unknowns may be null.",
          "type": "object"
        },
        "mode": {
          "description": "`fast` prioritizes speed, with extra verification for people and companies; `ultra` supports deeper research (default).",
          "enum": [
            "fast",
            "ultra"
          ],
          "type": "string"
        },
        "tags": {
          "description": "Labels for filtering usage in the dashboard.",
          "example": [
            "production",
            "team-alpha"
          ],
          "items": {
            "maxLength": 50,
            "minLength": 1,
            "type": "string"
          },
          "maxItems": 20,
          "type": "array"
        },
        "task": {
          "description": "Research task. The agent selects company/profile lookups, web searches, or page reads. Include domains or URLs to focus the research.",
          "maxLength": 2000,
          "minLength": 1,
          "type": "string"
        },
        "timeoutOpts": {
          "additionalProperties": false,
          "description": "Request deadline and what to return when it passes.",
          "properties": {
            "behavior": {
              "default": "fail",
              "description": "\"fail\" returns 408 at the deadline. \"return-partial\" returns available results; inspect the response’s partial flag.",
              "enum": [
                "fail",
                "return-partial"
              ],
              "type": "string"
            },
            "milliseconds": {
              "description": "Deadline in milliseconds.",
              "maximum": 300000,
              "minimum": 1000,
              "type": "integer"
            }
          },
          "required": [
            "milliseconds"
          ],
          "type": "object"
        },
        "zdr": {
          "description": "`enabled` turns on zero data retention. Returns 403 `ZDR_NOT_ENABLED` unless your organization has ZDR.",
          "enum": [
            "enabled",
            "disabled"
          ],
          "type": "string"
        }
      },
      "required": [
        "task"
      ],
      "type": "object"
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "json_content": {
      "type": "object",
      "properties": {
        "title": {
          "type": "string"
        }
      }
    },
    "key_metadata": {
      "type": "object",
      "properties": {
        "credits_consumed": {
          "type": "integer"
        }
      }
    },
    "request_id": {
      "type": "string"
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}
```

## Request example
Scenario: Documentation example (source abbreviated)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/context-dev/v1/web/answers' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "json_format": {
    "title": ""
  },
  "mode": "fast",
  "task": "Read https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html and return the exact book title printed on the page.",
  "timeoutOpts": {
    "behavior": "return-partial",
    "milliseconds": 30000
  }
}'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
{
  "json_content": {
    "title": "A Light in the Attic"
  },
  "key_metadata": {
    "credits_consumed": 10
  },
  "request_id": "9f707c1d-57ec-4960-b650-200defdb743e",
  "sources": [
    "https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html"
  ]
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- context-dev: https://openany.si/market/apis/context-dev/context-dev-answers/?offering=9872e11b-17f3-4dbf-aea8-3fd023d328eb

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
