Skip to main content
See Making requests for an overview of both request modes. cloro API monitoring endpoints follow a mostly consistent request and response structure, with the Google Search endpoint being the main exception.

Request structure

Most monitoring endpoints follow a consistent request structure:

Common parameters

Most monitoring endpoints share these core parameters:
Google Search endpoint exceptionThe Google Search endpoint uses query instead of prompt as the required parameter, since it’s designed for search queries rather than AI prompts. See the Google Search endpoint documentation for details.

Country codes

The country field requires uppercase ISO 3166-1 alpha-2 codes (e.g., "US", "GB", "DK"). Lowercase values are not accepted and will return a validation error. For the full list of supported countries per provider, see the Countries endpoint.

Response structure

All successful responses follow this base structure:

Common response fields

Response headers

Every response includes an X-Request-Id header containing a unique identifier for the request. Store this value for debugging. It helps our support team locate your request if you need assistance.
For rate limit, concurrency, and credit headers, see Rate & concurrency limits.

Sources array structure

Each source in the sources array follows this format:
Some endpoints include additional source fields. See individual endpoint documentation for endpoint-specific source fields.

Optional response formats

Most endpoints support additional response formats through the include parameter:

HTML format

  • Parameter: include.html
  • Type: boolean
  • Default: false
  • Description: Request a URL to the full HTML of the response. The URL expires after 24 hours.
  • Cost: no extra charge

Markdown format

  • Parameter: include.markdown
  • Type: boolean
  • Default: false
  • Description: Include response formatted in Markdown
  • Cost: no extra charge

Endpoint-specific formats

Different endpoints offer unique formats. See individual endpoint documentation for specific options and features available for each monitoring endpoint. See Providers for endpoint costs and credit information.

Request examples

Remember: These examples use prompt, which is correct for most endpoints. For the Google Search endpoint, replace "prompt" with "query" in your requests.

Common questions

Can I get raw HTML responses instead of structured data?

Yes, all endpoints support returning HTML responses using the include.html request parameter. No additional credit cost for including HTML. The HTML is stored on our CDN for temporary access (expires after 24 hours). Download and store the HTML if you need it long-term.