# Search ## Search for locations, ASes, reports, and more `client.radar.search.global(SearchGlobalParamsquery, RequestOptionsoptions?): SearchGlobalResponse` **get** `/radar/search/global` Searches for locations, autonomous systems, reports, bots, certificate logs, certificate authorities, industries and verticals. Location names can be localized by sending an `Accept-Language` HTTP header with a BCP 47 language tag (e.g., `Accept-Language: pt-PT`). The full quality-value chain is supported (e.g., `pt-PT,pt;q=0.9,en;q=0.8`). ### Parameters - `query: SearchGlobalParams` - `query: string` String used to perform the search operation. - `exclude?: Array<"ADM1S" | "ASNS" | "BOTS" | 9 more>` Search types excluded from results. - `"ADM1S"` - `"ASNS"` - `"BOTS"` - `"CERTIFICATE_AUTHORITIES"` - `"CERTIFICATE_LOGS"` - `"ORIGINS"` - `"ORIGIN_REGIONS"` - `"INDUSTRIES"` - `"LOCATIONS"` - `"NOTEBOOKS"` - `"TLDS"` - `"VERTICALS"` - `format?: "JSON" | "CSV"` Format in which results will be returned. - `"JSON"` - `"CSV"` - `include?: Array<"ADM1S" | "ASNS" | "BOTS" | 9 more>` Search types included in results. - `"ADM1S"` - `"ASNS"` - `"BOTS"` - `"CERTIFICATE_AUTHORITIES"` - `"CERTIFICATE_LOGS"` - `"ORIGINS"` - `"ORIGIN_REGIONS"` - `"INDUSTRIES"` - `"LOCATIONS"` - `"NOTEBOOKS"` - `"TLDS"` - `"VERTICALS"` - `limit?: number` Limits the number of objects returned in the response. - `limitPerGroup?: number` Limits the number of objects per search category. ### Returns - `SearchGlobalResponse` - `search: Array` - `code: string` - `name: string` - `type: string` ### Example ```node import Cloudflare from 'cloudflare'; const client = new Cloudflare({ apiToken: process.env['CLOUDFLARE_API_TOKEN'], // This is the default and can be omitted }); const response = await client.radar.search.global({ query: 'United' }); console.log(response.search); ``` #### Response ```json { "result": { "search": [ { "code": "13335", "name": "Cloudflare", "type": "asn" } ] }, "success": true } ``` ## Domain Types ### Search Global Response - `SearchGlobalResponse` - `search: Array` - `code: string` - `name: string` - `type: string`