---
title: "AI-generated intelligence brief"
description: "Returns a periodically generated, cached intelligence brief for a country. Accepts a bearer API key or [x402 payment](https://y2.dev/docs/api/x402). Without a key, read the `402` challenge in `PAYMENT-REQUIRED`. Retry with `PAYMENT-SIGNATURE`."
canonical: https://y2.dev/docs/api/reference/osint/getCountryBrief/
---

Endpoint Reference[OSINT](https://y2.dev/docs/api/reference/osint)

# AI-generated intelligence brief

Returns a periodically generated, cached intelligence brief for a country. Accepts a bearer API key or \[x402 payment]\(https\://y2.dev/docs/api/x402). Without a key, read the \`402\` challenge in \`PAYMENT-REQUIRED\`. Retry with \`PAYMENT-SIGNATURE\`.

`GET https://api.y2.dev/api/v1/osint/countries/{countryCode}/brief`

- Operation ID: `getCountryBrief`
- Required scopes: `osint:read`
- Accepts x402 pay-per-request payment
- Contract: https://y2.dev/openapi.json

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `countryCode` | path | string | Yes | ISO 3166-1 alpha-2 country code |

## Responses

| Status | Description | Body |
| --- | --- | --- |
| 200 | Intelligence brief for the country | `IntelBriefResponse` |
| 400 | Invalid request parameters |  |
| 401 | Missing or invalid API key |  |
| 402 | x402 payment required | `X402PaymentRequiredResponse` |
| 403 | Insufficient permissions or access denied |  |
| 404 | Brief not available for this country |  |
| 429 | Rate limit exceeded (per-key or per-account aggregate) |  |
| 500 | Internal server error |  |

### 200 response fields

| Field | Type | Description |
| --- | --- | --- |
| `data` | object |  |
| `data.briefText` | string | AI-generated intelligence brief text |
| `data.generatedAt` | integer (int64) | Generation time as Unix timestamp (milliseconds) |
| `data.generatedAtISO` | string (date-time) |  |
| `data.publishedAt` | string (date-time) |  |
