The Homicide Stats API is dedicated to delivering detailed statistics on intentional homicide victims, sourced from the United Nations Office on Drugs and Crime. This API encompasses a wide array of data fields, including region, subregion, country, source, and annual counts of intentional homicides from 2000 to 2021, as well as the corresponding rates per 100,000 population.
{"subregions":["Latin America and the Caribbean","Northern America"]}
curl --location --request POST 'https://zylalabs.com/api/6128/homicide+stats+api/8398/get+subregions+by+region' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"region":"Required"}'
{"countries":["Anguilla","Antigua and Barbuda","Argentina","Aruba","Bahamas","Barbados","Belize","Bermuda","Bolivia (Plurinational State of)","Brazil","British Virgin Islands","Cayman Islands","Chile","Colombia","Costa Rica","Cuba","Cura\u00e7ao","Dominica","Dominican Republic","Ecuador","El Salvador","French Guiana","Grenada","Guadeloupe","Guatemala","Guyana","Haiti","Honduras","Jamaica","Mexico","Nicaragua","Panama","Paraguay","Peru","Puerto Rico","Saint Kitts and Nevis","Saint Lucia","Saint Vincent and the Grenadines","Suriname","Trinidad and Tobago","Uruguay","Venezuela (Bolivarian Republic of)"]}
curl --location --request POST 'https://zylalabs.com/api/6128/homicide+stats+api/8399/get+countries+by+subregions' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"subregion":"Required"}'
{"country":"Argentina","year":2021,"source":"CTS\/MoS","total_homicides":20353,"rate_per_100k":221.94}
curl --location --request POST 'https://zylalabs.com/api/6128/homicide+stats+api/8400/get+homicide+statistics+by+country' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"country":"Required","year":"Required"}'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
The Homicide Stats API provides comprehensive statistics on intentional homicide victims, including annual counts and rates per 100,000 population across various regions and countries from the year 2000 to 2021.
The data in the Homicide Stats API is sourced from the United Nations Office on Drugs and Crime, ensuring reliability and accuracy.
To access statistics for a specific country, you can use the API's query parameters to filter results by country name or code, allowing you to retrieve relevant homicide data for that location.
Yes, the Homicide Stats API includes data on homicide rates for various regions and subregions, enabling users to analyze trends and comparisons across different geographical areas.
The Homicide Stats API covers homicide statistics from the year 2000 to 2021, providing a comprehensive view of trends over the last two decades.
This endpoint returns a list of subregions filtered by the specified region. The response includes an array of subregion names, allowing users to understand regional divisions within the selected area.
The response includes fields such as "country," "year," "source," "total_homicides," and "rate_per_100k," providing detailed annual homicide data for the specified country.
Users can customize requests by specifying parameters such as "region" for subregions and "subregion" for countries. This allows for targeted data retrieval based on geographical interests.
The API covers five main regions: Americas, Asia, Africa, Europe, and Oceania. Each region can be further explored through subregions and countries for detailed homicide statistics.
The response data is structured in JSON format, with key-value pairs representing various data fields. For example, the homicide statistics response includes fields like "total_homicides" and "rate_per_100k" for easy interpretation.
Typical use cases include academic research, policy analysis, public health assessments, and crime trend analysis. Users can leverage the data to identify patterns and inform decision-making.
Users can analyze the data by comparing homicide rates across countries or regions, identifying trends over time, and visualizing statistics for presentations or reports, enhancing their understanding of homicide patterns.
The data is sourced from the United Nations Office on Drugs and Crime, which implements rigorous data collection and validation processes. This ensures high reliability and accuracy in the statistics provided.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
Service Level:
100%
Response Time:
63ms
Service Level:
100%
Response Time:
57ms
Service Level:
100%
Response Time:
52ms
Service Level:
100%
Response Time:
8,683ms
Service Level:
100%
Response Time:
1,476ms
Service Level:
100%
Response Time:
70ms
Service Level:
100%
Response Time:
53ms
Service Level:
100%
Response Time:
55ms
Service Level:
100%
Response Time:
1,674ms
Service Level:
100%
Response Time:
53ms
Service Level:
100%
Response Time:
562ms
Service Level:
100%
Response Time:
16ms
Service Level:
100%
Response Time:
16ms
Service Level:
100%
Response Time:
15ms
Service Level:
100%
Response Time:
16ms
Service Level:
100%
Response Time:
16ms
Service Level:
100%
Response Time:
17ms
Service Level:
100%
Response Time:
15ms
Service Level:
100%
Response Time:
20ms
Service Level:
100%
Response Time:
17ms