{"uid":"cap_eHtChAJZU8LXpxIMeSvZa","slug":"lilambd-conflict-top-top-conflicts-by-metric-5d197de2","name":"lilambd /conflict/top — Top Conflicts by Metric","description":"A crossing for play, feeling, language, science and computation — creating states that do not have names yet.","url":"https://api.lilambd.com/conflict/top?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"by":{"type":"string","description":"deaths | civilians | events"},"year":{"type":"string","description":"Year (default latest)"},"level":{"type":"string","description":"country | region"},"limit":{"type":"string","description":"Max rows (1-200, default 50)"},"offset":{"type":"string","description":"Rows to skip"}},"additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":[],"count":0,"attribution":"source licence line"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3-DZ5sP902Troes-mL6vs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a ranked list of the world's top armed conflicts, sortable by deaths, civilian casualties, or events, with country/region breakdown and year filtering.","exampleAgentPrompt":"Show me the top 20 deadliest armed conflicts for 2023, broken down by country, ranked by civilian deaths.","exampleUseCases":[{"title":"Humanitarian briefing on civilian casualties","prompt":"Give me the top 15 conflicts ranked by civilian deaths for 2022, broken down by country — I need this for a humanitarian briefing."},{"title":"Journalist tracking deadliest conflict zones","prompt":"What are the top 10 deadliest conflict zones by total deaths in the most recent year available, at the country level?"},{"title":"Regional conflict hotspot monitoring","prompt":"Pull the top 50 conflict hotspots ranked by number of events, grouped by region, so I can see where violence is most frequent globally."}],"resultDescription":"A JSON object with a `data` array of ranked conflict records (country or region, metric value, year), a `count` of total matching rows, and an `attribution` string crediting the data source and its license.","failureModes":["Invalid `by` value (not deaths/civilians/events) — likely returns an error or empty result","`limit` outside 1-200 range — may be clamped or rejected","No data for requested year — returns empty `data` array with count 0","Invalid `level` value — may default silently or return an error"],"whenToPreferThis":"Use this endpoint when you need a pre-ranked, paginated leaderboard of conflicts globally — it is purpose-built for conflict ranking by deaths, civilian casualties, or event counts. Prefer it over raw conflict databases when you want a quick top-N view without needing to aggregate or sort raw event data yourself.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:33:35.174Z","isFirstParty":false,"canonicalSlug":"lilambd-conflict-top-top-conflicts-by-metric-5d197de2"}