{"uid":"cap_oLDKDzGltQr6_5OiIFLvm","slug":"longevitypulse-country-longevity-profile-a5b5f498","name":"LongevityPulse Country Longevity Profile","description":"Country longevity / life expectancy profile for longevity and relocation agents. Returns life expectancy, healthy life expectancy (HALE), leading causes of premature death, and healthcare quality for aging, with practical advice. WHO data across 195+ countries worldwide.","url":"https://longevitypulse.theaslangroupllc.com/api/longevity/country-longevity","method":"GET","headers":{},"bodySchema":{"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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"lang":{"type":"string","description":"en | es | fr | de | ja | zh | ko | pt | ar | hi (default: en)"},"country":{"type":"string","description":"Country name — e.g. \"Japan\" | \"Singapore\" | \"Spain\" | \"South Korea\" | \"Switzerland\" | \"Costa Rica\" | \"Australia\" | \"United States\" | \"India\" | \"Nigeria\""}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"errors":{"type":"object","description":"Documented error responses, keyed by HTTP status code","additionalProperties":{"type":"object","required":["description"],"properties":{"example":{"type":"object"},"description":{"type":"string"}}}},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"country":"Japan","life_expectancy":{"male":"81.1 years","total":"84.3 years","trend":"Stable — has held top position for decades","female":"87.1 years","global_rank":"#2 globally","vs_global_average":"+11 years above global average of 73.3"},"longevity_strengths":{"what_this_country_does_well":["Universal healthcare with strong preventive care","Traditional diet low in saturated fat, high in omega-3","Strong social cohesion and elder respect (ikigai culture)","Active lifestyle from walking-based urban design"]},"healthy_life_expectancy":{"hale":"74.1 years","healthspan_gap":"10.2 years spent in disability","what_this_means":"Japanese people enjoy 74 years of healthy life — still highest globally despite the gap"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.12","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.12/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.12","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.12","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SOP-c-KEl7yhPq9vJP9Ay","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.12","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns life expectancy, healthy life expectancy (HALE), leading causes of premature death, and healthcare quality data for any of 195+ countries using WHO data","exampleAgentPrompt":"Give me a full longevity profile for Japan — I want the life expectancy, healthy life expectancy, leading causes of premature death, and healthcare quality for aging so I can evaluate it as a retirement destination.","exampleUseCases":[{"title":"Retirement destination health comparison","prompt":"I'm considering retiring to either Portugal or Costa Rica. Can you pull up the longevity profiles for both countries so I can compare their life expectancy, healthy life expectancy, and healthcare quality for older adults?"},{"title":"Evaluate premature death risks by region","prompt":"I'm looking at moving to Southeast Asia and want to understand the leading causes of premature death in Thailand and Vietnam so I can better prepare for health risks in each country."},{"title":"Find best healthcare for aging populations","prompt":"Help me identify which countries have the best healthcare quality ratings for aging populations according to WHO data — I want to know where I'd get the best care as I get older."}],"resultDescription":"Returns a country-level longevity profile including overall life expectancy, healthy life expectancy (HALE), top causes of premature death, healthcare quality rating for aging populations, and practical advice — all sourced from WHO data.","failureModes":["Unknown or misspelled country name returns 404 or empty result","Country not covered in WHO dataset returns no data","Ambiguous country code (e.g. conflicting ISO codes) may return wrong country","Network timeout or upstream WHO data unavailability causes 503"],"whenToPreferThis":"Use this endpoint when an agent needs standardized WHO-sourced longevity metrics for a specific country, especially for relocation planning, retirement destination comparison, or health-risk assessment by geography. Prefer this over generic health databases when HALE and cause-of-death breakdowns are needed alongside practical aging advice.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:42:02.203Z","isFirstParty":false}