# Context.dev — Crawl Sitemap

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

Documentation: https://openany.si/market/apis/context-dev/context-dev-crawl-sitemap/?offering=d8c8599b-8ec2-40b9-9a4a-9c67e25db443
API ID: d8c8599b-8ec2-40b9-9a4a-9c67e25db443
Provider: context-dev
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/context-dev/v1/web/scrape/sitemap
Page update time: 2026-12-03T02:49:45.657Z
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: none
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.111Z. 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 — Crawl Sitemap 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": {
        "domain": {
          "type": "string",
          "description": "Domain to map, e.g. `stripe.com`.",
          "minLength": 3
        },
        "includeSubdomains": {
          "type": "boolean",
          "description": "Include URLs on subdomains."
        },
        "maxLinks": {
          "type": "integer",
          "description": "Maximum number of URLs to return.",
          "minimum": 1,
          "maximum": 100000
        },
        "sitemapUrl": {
          "type": "string",
          "description": "Fetch this sitemap instead of discovering sitemaps. Must belong to the domain or a subdomain."
        },
        "urlRegex": {
          "type": "string",
          "description": "Regex pattern. Only URLs matching this pattern are returned and counted against maxLinks.",
          "maxLength": 256
        },
        "excludeUrlRegex": {
          "type": "string",
          "description": "Regex pattern. URLs matching this pattern are not returned, even when they match urlRegex.",
          "maxLength": 256
        },
        "search": {
          "type": "string",
          "description": "Filter URLs by a topic or phrase, most relevant first.",
          "minLength": 2,
          "maxLength": 200
        },
        "zdr": {
          "type": "string",
          "description": "`enabled` turns on zero data retention. Returns 403 `ZDR_NOT_ENABLED` unless your organization has ZDR.",
          "enum": [
            "enabled",
            "disabled"
          ]
        }
      },
      "required": [
        "domain"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "domain": {
      "type": "string"
    },
    "key_metadata": {
      "type": "object",
      "properties": {
        "credits_consumed": {
          "type": "integer"
        }
      }
    },
    "request_id": {
      "type": "string"
    },
    "success": {
      "type": "boolean"
    },
    "urls": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string"
          },
          "keywords": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "language": {
            "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/scrape/sitemap?domain=context.dev&maxLinks=1' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
{
  "domain": "context.dev",
  "key_metadata": {
    "credits_consumed": 1
  },
  "request_id": "63cde093-1036-44f3-97d2-798a471f911f",
  "success": true,
  "urls": [
    {
      "description": "Context.dev is the web data API for AI agents: scrape any URL into LLM-ready Markdown, search the live web, crawl entire sites, and extract structured data with one REST API.",
      "keywords": [
        "web data api",
        "web data api for ai agents",
        "scrape api",
        "crawl website",
        "web crawler",
        "web search api",
        "markdown scraper",
        "extract structured data",
        "ai data extraction",
        "web scraping for ai agents",
        "llm web scraping",
        "rag scraping api",
        "brand api"
      ],
      "language": "en",
      "title": "Context.dev: Web Data API for AI Agents (Scrape, Search, Crawl)",
      "url": "https://www.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-crawl-sitemap/?offering=d8c8599b-8ec2-40b9-9a4a-9c67e25db443

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