Endpoints
    POST/desearch/monitors/estimate

    Estimate a monitor's cost

    The most one run of a monitor with these sources can cost, and the most it can cost in a month at this interval. Runs bill what they use, usually less. Free.

    Base URL

    https://api.desearch.ai

    Implementation guidance

    Use Estimate a monitor's cost when your application needs search-grounded AI results without maintaining its own crawler, social-data pipeline, or retrieval infrastructure. The endpoint returns structured data that can be consumed by agents, research tools, dashboards, and retrieval-augmented generation workflows. Keep the request focused on the minimum fields your workflow needs so responses remain fast and easy to validate.

    Send requests to POST /desearch/monitors/estimate with your Desearch API key in the authorization header. Treat the key as a server-side secret, validate all required parameters before sending the request, and handle non-2xx responses explicitly. Production integrations should use sensible timeouts, retry only transient failures with backoff, and record the response status and request identifier for troubleshooting.

    Test the example request below before integrating it into a larger workflow. Confirm that the returned fields, links, and timestamps meet your freshness requirements, then add schema validation at the application boundary. For agentic systems, preserve source URLs with the generated answer so users can inspect evidence and your application can avoid presenting unsupported claims.

    Body Parameters

    sourcesarray
    optionsobject (JSON)

    A JSON object, sent as JSON. Leave it empty to omit the field. Keys: web, x, reddit, youtube, threads, tiktok, instagram, facebook, meta_ads. Allowed values: web.count: 10, 15, 20; tiktok.count: 10, 20, 30; meta_ads.count: 10, 20, 30.

    summaryboolean

    Default: false

    intervalstring

    Default: 1d

    Responses

    200Successful Response
    400Invalid JSON body
    401Unauthorized
    422Validation Error
    500Internal Server Error
    Authorization

    Your API key is sent in the Authorization header.

    Request
    curl -X POST "https://api.desearch.ai/desearch/monitors/estimate" \
      -H "Authorization: YOUR_API_KEY" \
      -H "Content-Type: application/json"
    ResponseSchema
    {
      "max_run_cost_usd": 0,
      "runs_per_month": 0,
      "max_monthly_cost_usd": 0,
      "breakdown": {}
    }

    Possible status codes:

    200401422429500