# Brazilayer Markets News

> Brazilayer Markets News is a paid API for AI agents from api.brazilayer.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Fetches Brazilian financial and crypto market news refreshed every 15 minutes, with headline, summary, topic, investor sentiment, and 0-10 market relevance score

## Facts

- Endpoint: GET https://api.brazilayer.com/v1/mercado/noticias
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brazilayer-markets-news-26874853
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0ancj_Ybe3e4NJ-uRFUoV

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability brazilayer-markets-news-26874853
```

Example prompt: Pull the latest high-relevance crypto news from Brazil — only positive sentiment stories, minimum relevance score 7, showing up to 20 results — I want to see what's moving Brazilian crypto markets right now.

## When to prefer this

Choose this endpoint when you need real-time Brazilian financial or crypto market news with built-in sentiment and relevance scoring, particularly when central bank (BCB/Drex), CVM regulation, or BRL/crypto price-moving events matter. Prefer this over generic news APIs when Brazil-specific market intelligence is required — it uniquely combines topic filtering, investor sentiment classification, and quantitative market relevance scoring refreshed every 15 minutes from Brazilian outlets.

## Known failure modes

- Invalid tema value returns error or empty results — must be one of: cripto, macro, cambio, regulacao, empresas
- Invalid sentimento value returns error — must be positivo, negativo, or neutro
- relevancia_min out of 0-10 range may return error or be clamped
- por_pagina exceeding 50 may be rejected or capped
- Payment not included or expired x402 token returns 402 Payment Required
- No matching articles for the given filters returns empty result set

## How this service works

Brazilian financial & crypto market news, refreshed every 15 minutes from major Brazilian outlets: headline, summary, link, topic (crypto, macro, fx, regulation, companies), investor sentiment and 0-10 market relevance. Brazil is a top-10 crypto adoption market — central bank moves, Drex (CBDC) and CVM regulation move prices. Filters: tema, sentimento, relevancia_min. Free sample, no payment: https://api.brazilayer.com/v1/mercado/amostra

## Output

Returns a paginated list of news articles, each containing a headline, summary, link to source, topic category (cripto, macro, cambio, regulacao, or empresas), investor sentiment label (positivo, negativo, neutro), and a 0-10 market relevance score. Data is sourced from major Brazilian financial outlets and refreshed every 15 minutes.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "tema": {
       "type": "string",
       "description": "cripto | macro | cambio | regulacao | empresas"
      },
      "por_pagina": {
       "type": "integer",
       "description": "max 50, default 20"
      },
      "sentimento": {
       "type": "string",
       "description": "positivo | negativo | neutro"
      },
      "relevancia_min": {
       "type": "integer",
       "description": "0-10, filter by market relevance"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brazilayer-markets-news-26874853/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.brazilayer.com](https://www.zero.xyz/host/api.brazilayer.com/llms.txt)
