tools

Audit the language and region signals of one page: html lang, the Content-Language header, hreflang alternates, the language detected in the visible text, and geo meta tags. It reads that page and applies nothing to any other call: target_language and target_country shape this one request only. No proxy is used, so the request leaves from the same address as every other tool and a geo-block is not lifted (a regional block follows the exit IP). To request a page in a language elsewhere, pass it on that call: fetch_url headers {"Accept-Language": ...} or stealth_mode stealthConfig {locale, timezone}; scrape has no locale parameter. The CrawlForge MCP server's localization tool is a different surface (configure_country and other operations) that returns a country's locale values and likewise applies none.

post/tools/localization

Request

  • Base URL: https://www.crawlforge.dev/api/v1
  • URL: https://www.crawlforge.dev/api/v1/tools/localization
  • Auth: API key in header X-API-Key

Request body

urlstring uri required

The URL to analyze for localization

target_languagestring

Language you expect (e.g., "en", "fr", "es"). Sent as this request's Accept-Language and compared with the detected language and html lang

target_countrystring

Country you expect (e.g., "US", "FR", "JP"). Echoed back and sent as an X-Country-Code header on this request; it does not change where the request comes from

detect_languageboolean

Detect the page language from its visible text. Returns an ISO 639-1 code, or "und" when the language cannot be determined.

extract_hreflangboolean

Extract hreflang alternate language tags

check_geo_targetingboolean

Check for geo-targeting metadata

timeoutnumber

Request timeout in milliseconds (1000-30000)

respect_robotsboolean

Response

The tool's result; 2 credits charged (see x-credits-note and x-extra for add-ons).

successtrue required
dataobject required

The tool's result. Its shape is tool-specific and documented on the tool's docs page (x-docs-url on the operation).

credits_usedinteger required

Credits charged for this call: the operation's x-credits, plus any add-on x-credits-note or x-extra describes.

credits_remaininginteger required

The account's credit balance after this call.

processing_timeinteger required

Server-side processing time in milliseconds.

warningsstring[]

Non-fatal notes: a robots.txt override that was recorded, a format that could not be produced, a redaction that changed the payload.

Changes

No recorded changes to this operation across all 1 revision of this API.