# Context.dev — Web Search

Search Context.Dev Web via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Context-dev, pass parameters such as numResults, query, and retrieve structured data including title, description, returned highlights field, returned markdown field, and returned relevance field to search interfaces and source review, and integration reference, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/market/apis/context-dev/context-dev-web-search/?offering=b4f56d6e-ffa7-432f-be90-7c647e6c0dbb
API ID: b4f56d6e-ffa7-432f-be90-7c647e6c0dbb
Provider: context-dev
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/context-dev/v1/web/search
Page update time: 2026-12-03T02:49:45.681Z
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:45.202Z. 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 — Web Search 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,
      "properties": {
        "country": {
          "enum": [
            "af",
            "al",
            "dz",
            "as",
            "ad",
            "ao",
            "ai",
            "aq",
            "ag",
            "ar",
            "am",
            "aw",
            "au",
            "at",
            "az",
            "bs",
            "bh",
            "bd",
            "bb",
            "by",
            "be",
            "bz",
            "bj",
            "bm",
            "bt",
            "bo",
            "ba",
            "bw",
            "bv",
            "br",
            "io",
            "bn",
            "bg",
            "bf",
            "bi",
            "kh",
            "cm",
            "ca",
            "cv",
            "ky",
            "cf",
            "td",
            "cl",
            "cn",
            "cx",
            "cc",
            "co",
            "km",
            "cg",
            "cd",
            "ck",
            "cr",
            "ci",
            "hr",
            "cu",
            "cy",
            "cz",
            "dk",
            "dj",
            "dm",
            "do",
            "ec",
            "eg",
            "sv",
            "gq",
            "er",
            "ee",
            "et",
            "fk",
            "fo",
            "fj",
            "fi",
            "fr",
            "gf",
            "pf",
            "tf",
            "ga",
            "gm",
            "ge",
            "de",
            "gh",
            "gi",
            "gr",
            "gl",
            "gd",
            "gp",
            "gu",
            "gt",
            "gn",
            "gw",
            "gy",
            "ht",
            "hm",
            "va",
            "hn",
            "hk",
            "hu",
            "is",
            "in",
            "id",
            "ir",
            "iq",
            "ie",
            "il",
            "it",
            "jm",
            "jp",
            "jo",
            "kz",
            "ke",
            "ki",
            "kp",
            "kr",
            "kw",
            "kg",
            "la",
            "lv",
            "lb",
            "ls",
            "lr",
            "ly",
            "li",
            "lt",
            "lu",
            "mo",
            "mk",
            "mg",
            "mw",
            "my",
            "mv",
            "ml",
            "mt",
            "mh",
            "mq",
            "mr",
            "mu",
            "yt",
            "mx",
            "fm",
            "md",
            "mc",
            "mn",
            "ms",
            "ma",
            "mz",
            "mm",
            "na",
            "nr",
            "np",
            "nl",
            "an",
            "nc",
            "nz",
            "ni",
            "ne",
            "ng",
            "nu",
            "nf",
            "mp",
            "no",
            "om",
            "pk",
            "pw",
            "ps",
            "pa",
            "pg",
            "py",
            "pe",
            "ph",
            "pn",
            "pl",
            "pt",
            "pr",
            "qa",
            "re",
            "ro",
            "ru",
            "rw",
            "sh",
            "kn",
            "lc",
            "pm",
            "vc",
            "ws",
            "sm",
            "st",
            "sa",
            "sn",
            "rs",
            "sc",
            "sl",
            "sg",
            "sk",
            "si",
            "sb",
            "so",
            "za",
            "gs",
            "es",
            "lk",
            "sd",
            "sr",
            "sj",
            "sz",
            "se",
            "ch",
            "sy",
            "tw",
            "tj",
            "tz",
            "th",
            "tl",
            "tg",
            "tk",
            "to",
            "tt",
            "tn",
            "tr",
            "tm",
            "tc",
            "tv",
            "ug",
            "ua",
            "ae",
            "gb",
            "us",
            "um",
            "uy",
            "uz",
            "vu",
            "ve",
            "vn",
            "vg",
            "vi",
            "wf",
            "eh",
            "ye",
            "zm",
            "zw"
          ],
          "type": "string"
        },
        "descriptionMaxCharacters": {
          "default": null,
          "minimum": 0,
          "type": [
            "integer",
            "null"
          ]
        },
        "excludeDomains": {
          "items": {
            "minLength": 3,
            "type": "string"
          },
          "maxItems": 100,
          "type": "array"
        },
        "freshness": {
          "enum": [
            "last_24_hours",
            "last_week",
            "last_month",
            "last_year"
          ],
          "type": "string"
        },
        "highlightsOptions": {
          "additionalProperties": false,
          "properties": {
            "enabled": {
              "default": false,
              "type": "boolean"
            },
            "maxCharacters": {
              "default": 4000,
              "maximum": 20000,
              "minimum": 100,
              "type": "integer"
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "includeDomains": {
          "items": {
            "minLength": 3,
            "type": "string"
          },
          "maxItems": 100,
          "type": "array"
        },
        "languages": {
          "anyOf": [
            {
              "enum": [
                "all"
              ],
              "type": "string"
            },
            {
              "items": {
                "enum": [
                  "am",
                  "ar",
                  "az",
                  "be",
                  "bg",
                  "bn",
                  "ca",
                  "ceb",
                  "cs",
                  "cy",
                  "da",
                  "de",
                  "el",
                  "en",
                  "es",
                  "et",
                  "eu",
                  "fa",
                  "fi",
                  "fr",
                  "gu",
                  "ha",
                  "haw",
                  "he",
                  "hi",
                  "hr",
                  "hu",
                  "hy",
                  "id",
                  "is",
                  "it",
                  "ja",
                  "ka",
                  "kk",
                  "kn",
                  "ko",
                  "ku",
                  "ky",
                  "lo",
                  "lt",
                  "lv",
                  "mk",
                  "ml",
                  "mn",
                  "mr",
                  "ms",
                  "ne",
                  "nl",
                  "no",
                  "or",
                  "pa",
                  "pl",
                  "ps",
                  "pt",
                  "ro",
                  "ru",
                  "sk",
                  "sl",
                  "so",
                  "sq",
                  "sr",
                  "sv",
                  "sw",
                  "ta",
                  "te",
                  "th",
                  "tl",
                  "tr",
                  "uk",
                  "ur",
                  "uz",
                  "vi",
                  "yo",
                  "zh"
                ],
                "type": "string"
              },
              "minItems": 1,
              "type": "array"
            }
          ],
          "default": "all"
        },
        "markdownOptions": {
          "additionalProperties": false,
          "properties": {
            "enabled": {
              "default": false,
              "type": "boolean"
            },
            "includeFrames": {
              "default": false,
              "type": "boolean"
            },
            "includeImages": {
              "default": false,
              "type": "boolean"
            },
            "includeLinks": {
              "default": true,
              "type": "boolean"
            },
            "maxAgeMs": {
              "maximum": 31536000000,
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            },
            "pdf": {
              "additionalProperties": false,
              "default": {
                "shouldParse": true
              },
              "properties": {
                "end": {
                  "minimum": 1,
                  "type": "integer"
                },
                "shouldParse": {
                  "default": true,
                  "type": "boolean"
                },
                "start": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "type": "object"
            },
            "shortenBase64Images": {
              "default": true,
              "type": "boolean"
            },
            "timeoutOpts": {
              "additionalProperties": false,
              "properties": {
                "behavior": {
                  "default": "fail",
                  "enum": [
                    "fail",
                    "return-partial"
                  ],
                  "type": "string"
                },
                "milliseconds": {
                  "maximum": 300000,
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "required": [
                "milliseconds"
              ],
              "type": "object"
            },
            "useMainContentOnly": {
              "default": false,
              "type": "boolean"
            },
            "waitForMs": {
              "maximum": 30000,
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "numResults": {
          "default": 10,
          "maximum": 100,
          "minimum": 1,
          "type": "integer"
        },
        "query": {
          "maxLength": 500,
          "minLength": 1,
          "type": "string"
        },
        "queryFanout": {
          "type": "boolean"
        },
        "tags": {
          "items": {
            "maxLength": 50,
            "minLength": 1,
            "type": "string"
          },
          "maxItems": 20,
          "type": "array"
        },
        "timeoutOpts": {
          "additionalProperties": false,
          "properties": {
            "behavior": {
              "default": "fail",
              "enum": [
                "fail",
                "return-partial"
              ],
              "type": "string"
            },
            "milliseconds": {
              "maximum": 300000,
              "minimum": 1000,
              "type": "integer"
            }
          },
          "required": [
            "milliseconds"
          ],
          "type": "object"
        },
        "zdr": {
          "default": "disabled",
          "enum": [
            "enabled",
            "disabled"
          ],
          "type": "string"
        }
      },
      "required": [
        "query"
      ],
      "type": "object",
      "description": "Search the web and optionally scrape each result to Markdown in one call."
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "cache_metadata": {
      "type": "object",
      "properties": {
        "age_ms": {
          "type": "integer"
        },
        "status": {
          "type": "string"
        }
      }
    },
    "key_metadata": {
      "type": "object",
      "properties": {
        "credits_consumed": {
          "type": "integer"
        }
      }
    },
    "query": {
      "type": "string"
    },
    "request_id": {
      "type": "string"
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string"
          },
          "highlights": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string"
              },
              "highlights": {
                "type": "null"
              }
            }
          },
          "markdown": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string"
              },
              "markdown": {
                "type": "null"
              }
            }
          },
          "relevance": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

## Request example
Scenario: Documentation example (source abbreviated)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/context-dev/v1/web/search' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "numResults": 1,
  "query": "Context.dev API"
}'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
{
  "cache_metadata": {
    "age_ms": 0,
    "status": "miss"
  },
  "key_metadata": {
    "credits_consumed": 1
  },
  "query": "Context.dev API",
  "request_id": "f10e9a8f-71eb-4125-975e-d214fc223a5a",
  "results": [
    {
      "description": "Context.dev. Verified. API for retrieving context data from any website. Web scraping, brand retrieval, AI data extraction, screenshots, and more ...",
      "highlights": {
        "code": "NOT_REQUESTED",
        "highlights": null
      },
      "markdown": {
        "code": "NOT_REQUESTED",
        "markdown": null
      },
      "relevance": "high",
      "title": "Context.dev - Orthogonal - Giving AI agents the tools they need.",
      "url": "https://www.orthogonal.com/discover/context-dev"
    }
  ]
}
```

## 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-web-search/?offering=b4f56d6e-ffa7-432f-be90-7c647e6c0dbb

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