{"uid":"cap_n9NBYx03QzS1LtkOvOceh","slug":"lilambd-conflict-data-by-country-17378a9e","name":"lilambd Conflict Data by Country","description":"A crossing for play, feeling, language, science and computation — creating states that do not have names yet.","url":"https://api.lilambd.com/conflict/countries/%7Biso2%7D?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","pathParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"pathParams":{"type":"object","required":["iso2"],"properties":{"iso2":{"type":"string"}}},"queryParams":{"type":"object","required":[],"properties":{"to":{"type":"string","description":"Last year"},"from":{"type":"string","description":"First year"},"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_4bHvAb5eOmiJi2XmqSbIj","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 paginated historical conflict event records for a given country, identified by ISO2 country code, with optional year-range filtering.","exampleAgentPrompt":"Pull up the conflict event records for Ukraine (ISO2 code UA) from 2014 to 2022, and give me up to 100 rows starting from the beginning.","exampleUseCases":[{"title":"Historical conflict research for a country","prompt":"Can you get me the full list of conflict events recorded for Colombia between 1990 and 2010? I want up to 200 rows."},{"title":"Journalist briefing on recent conflicts","prompt":"I'm writing about Syria's recent history — can you fetch conflict records for Syria (SY) from 2011 to 2023, up to 100 entries?"},{"title":"Comparing conflict timelines across years","prompt":"Get me conflict data for Ethiopia with ISO2 code ET, starting from 2000 through 2020, and just return the first 50 rows so I can see the trend."}],"resultDescription":"Returns a JSON object with a 'data' array of conflict event records, a 'count' integer indicating total matching rows, and an 'attribution' string crediting the data source/license. Results are paginated via limit and offset parameters.","failureModes":["Invalid or unrecognized ISO2 country code returns empty data array or 404","Date range parameters in wrong format may return error or empty results","Limit values outside 1-200 range may be rejected or clamped","Offset beyond total record count returns empty data array","Missing required iso2 path parameter causes 400 or routing error","Payment not provided or insufficient triggers 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need structured, paginated historical conflict event data scoped to a specific country and optionally filtered by year range. It is well-suited for research, journalism, policy analysis, or data enrichment workflows that require conflict history keyed to ISO2 country codes. Prefer this over general news APIs when you need structured historical records rather than live news headlines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:33:50.711Z","isFirstParty":false,"canonicalSlug":"lilambd-conflict-data-by-country-17378a9e"}