API · x402

Latest Metropolitan Lima, Peru consumer price index (CPI) inflation from INEI via BCRP:…

Latest Metropolitan Lima, Peru consumer price index (CPI) inflation from INEI via BCRP: monthly percentage change for inflation and purchasing-power analysis, not national CPI or an index level.

by peru-macro.use.x402atlas.com · discovered, not yet claimed by its owner · updated 2026-10-12

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

Latest Metropolitan Lima, Peru consumer price index (CPI) inflation from INEI via BCRP: monthly percentage change for inflation and purchasing-power analysis, not national CPI or an index level.

Tags: peru · inflation · consumer-prices · lima · bcrp · bazaar

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/35148.json for the price and payment options.
  3. Pay. Call GET https://peru-macro.use.x402atlas.com/lima-inflation/latest. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, Polygon, Arbitrum One, Solana, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.01 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base, Polygon, Arbitrum One, Solana
Calls (30d)
4 · 3 unique payers (third-party data from the public x402 Bazaar)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.010x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2300s
exactPolygon
eip155:137
USDC$0.010x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2300s
exactArbitrum One
eip155:42161
USDC$0.010x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2300s
exactSolana
solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
USDC$0.01ASt6xvRyQ7ntERsmcYVMdLqZvz1GEN8Fzexzq62tXrNQ300s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "amountUsd": 0.01,
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "payTo": "0x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "10000",
    "amountUsd": 0.01,
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "payTo": "0x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "10000",
    "amountUsd": 0.01,
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "payTo": "ASt6xvRyQ7ntERsmcYVMdLqZvz1GEN8Fzexzq62tXrNQ",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "10000",
    "amountUsd": 0.01,
    "maxTimeoutSeconds": 300
  }
]

Schemas

Output schema (JSON Schema)
{
  "properties": {
    "example": {
      "additionalProperties": false,
      "properties": {
        "changes": {
          "description": "Transformations applied without changing numeric values.",
          "type": "string"
        },
        "notice": {
          "description": "Attribution, reuse conditions and integration fee notice.",
          "type": "string"
        },
        "operation": {
          "description": "Endpoint operation.",
          "enum": [
            "latest"
          ],
          "type": "string"
        },
        "retrieved_at": {
          "description": "UTC retrieval time; unchanged on source cache hits; not observation freshness.",
          "format": "date-time",
          "type": "string"
        },
        "schema_version": {
          "description": "Normalized contract version.",
          "enum": [
            "1"
          ],
          "type": "string"
        },
        "series": {
          "description": "One fixed economic indicator.",
          "items": {
            "additionalProperties": false,
            "properties": {
              "alias": {
                "description": "Fixed endpoint series.",
                "enum": [
                  "lima-inflation"
                ],
                "type": "string"
              },
              "attribution": {
                "description": "Original producer and distributor.",
                "enum": [
                  "INEI via Central Reserve Bank of Peru (BCRP)"
                ],
                "type": "string"
              },
              "coverage": {
                "description": "Geographic coverage; Lima CPI is not nationwide.",
                "enum": [
                  "Metropolitan Lima, Peru"
                ],
                "type": "string"
              },
              "frequency": {
                "description": "Observation frequency; gaps are not filled.",
                "enum": [
                  "monthly"
                ],
                "type": "string"
              },
              "license_url": {
                "description": "Applicable source reuse license or terms.",
                "enum": [
                  "https://estadisticas.bcrp.gob.pe/estadisticas/series/ayuda/condiciones-de-uso"
                ],
                "type": "string"
              },
              "name": {
                "description": "Indicator name.",
                "enum": [
                  "Metropolitan Lima CPI inflation"
                ],
                "type": "string"
              },
              "observations": {
                "description": "Ascending observed periods, without interpolation.",
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "period": {
                      "description": "Source observation month, not publication time.",
                      "pattern": "^[0-9]{4}-[0-9]{2}$",
                      "type": "string"
                    },
                    "source_value": {
                      "description": "Unrounded decimal text exactly as supplied by BCRP.",
                      "maxLength": 64,
                      "pattern": "^-?[0-9]+(\\.[0-9]+)?$",
                      "type": "string"
                    },
                    "value": {
                      "description": "Source percentage, unchanged; 1 means one percent. See series unit.",
                      "maximum": 1000,
                      "minimum": -100,
                      "type": "number"
                    }
                  },
                  "required": [
                    "period",
                    "value",
                    "source_value"
                  ],
                  "type": "object"
                },
                "maxItems": 1,
                "minItems": 1,
                "type": "array"
              },
              "source_display_decimals": {
                "description": "Source display precision, not a rounding instruction for API values.",
                "maximum": 12,
                "minimum": 0,
                "type": "integer"
              },
              "source_id": {
                "description": "BCRP series identifier.",
                "enum": [
                  "PN01271PM"
                ],
                "type": "string"
              },
              "source_name": {
                "description": "Original source series name, validated against the selected series.",
                "enum": [
                  "Índice de precios Lima Metropolitana (var% mensual) - IPC"
                ],
                "type": "string"
              },
              "unit": {
                "description": "Policy annual percentage or Lima CPI monthly percentage change.",
                "enum": [
                  "percent_month_over_month"
                ],
                "type": "string"
              }
            },
            "required": [
              "alias",
              "source_id",
              "name",
              "frequency",
              "unit",
              "coverage",
              "source_name",
              "source_display_decimals",
              "attribution",
              "license_url",
              "observations"
            ],
            "type": "object"
          },
          "maxItems": 1,
          "minItems": 1,
          "type": "array"
        },
        "source": {
          "description": "Source attribution.",
          "enum": [
            "Central Reserve Bank of Peru (BCRP)"
          ],
          "type": "string"
        },
        "source_request_url": {
          "description": "Exact free source request for this selection.",
          "type": "string"
        },
        "source_url": {
          "description": "Official source website.",
          "type": "string"
        },
        "terms_url": {
          "description": "Source reproduction and attribution terms.",
          "enum": [
            "https://estadisticas.bcrp.gob.pe/estadisticas/series/ayuda/condiciones-de-uso"
          ],
          "type": "string"
        },
        "warnings": {
          "description": "Limits of source revision and publication metadata.",
          "items": {
            "description": "Data interpretation warning.",
            "type": "string"
          },
          "maxItems": 1,
          "minItems": 1,
          "type": "array"
        }
      },
      "required": [
        "operation",
        "schema_version",
        "source",
        "source_url",
        "source_request_url",
        "notice",
        "changes",
        "terms_url",
        "retrieved_at",
        "series",
        "warnings"
      ],
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}
Example shape — generated from the schema, not a captured live response
{
  "example": {
    "changes": "string",
    "notice": "string",
    "operation": "latest",
    "retrieved_at": "2026-01-01T00:00:00Z",
    "schema_version": "1",
    "series": [
      {
        "alias": "lima-inflation",
        "attribution": "INEI via Central Reserve Bank of Peru (BCRP)",
        "coverage": "Metropolitan Lima, Peru",
        "frequency": "monthly",
        "license_url": "https://estadisticas.bcrp.gob.pe/estadisticas/series/ayuda/condiciones-de-uso",
        "name": "Metropolitan Lima CPI inflation",
        "observations": [
          {
            "period": "string",
            "source_value": "string",
            "value": 0
          }
        ],
        "source_display_decimals": 0,
        "source_id": "PN01271PM",
        "source_name": "Índice de precios Lima Metropolitana (var% mensual) - IPC",
        "unit": "percent_month_over_month"
      }
    ],
    "source": "Central Reserve Bank of Peru (BCRP)",
    "source_request_url": "string",
    "source_url": "string",
    "terms_url": "https://estadisticas.bcrp.gob.pe/estadisticas/series/ayuda/condiciones-de-uso",
    "warnings": [
      "string"
    ]
  },
  "type": "string"
}

Examples

curl
curl "https://peru-macro.use.x402atlas.com/lima-inflation/latest"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://peru-macro.use.x402atlas.com/lima-inflation/latest");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://peru-macro.use.x402atlas.com/lima-inflation/latest")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
peru-macro.use.x402atlas.com
Endpoint
https://peru-macro.use.x402atlas.com/lima-inflation/latest
Machine-readable
/resources/35148.json