The Global Homicide Information API specializes in delivering detailed statistics related to gun violence and firearm ownership across different countries. It processes data fields such as intentional homicide rates per 100,000 inhabitants, estimates of civilian firearms per 100 persons, and total firearm-related death rates per 100,000 inhabitants. The API utilizes domain-specific terminology like 'intentional homicide victims' and adheres to data standards that ensure accuracy and consistency in reporting. Users can expect structured output formats, typically in JSON or XML, which include nested data objects for each country, allowing for easy integration into analytical tools. The API is designed to handle large datasets, requiring robust server capabilities to manage high traffic and ensure quick response times. Additionally, it may impose rate limits to maintain performance and reliability, making it essential for developers to implement efficient data retrieval strategies.
[
{
"regions": [
"Asia",
"Europe",
"Africa",
"Oceania",
"Americas"
]
}
]
curl --location --request POST 'https://zylalabs.com/api/9513/global+homicide+information+api/17386/get+all+regions+available' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{}'
[
{
"region": [
"Americas"
],
"countries": [
"American Samoa",
"Anguilla",
"Antigua and Barbuda",
"Argentina",
"Aruba",
"Bahamas",
"Barbados",
"Belize",
"Bolivia",
"Brazil",
"British Virgin Islands",
"Canada",
"Cayman Islands",
"Chile",
"Colombia",
"Costa Rica",
"Cuba",
"Curaçao",
"Dominica",
"Dominican Republic",
"Ecuador",
"El Salvador",
"Falkland Islands",
"French Guiana",
"Guatemala",
"Guyana",
"Haiti",
"Honduras",
"Jamaica",
"Martinique",
"Mexico",
"Montserrat",
"Panama",
"Paraguay",
"Peru",
"Puerto Rico",
"Saint Kitts and Nevis",
"Saint Lucia",
"Saint Vincent and the Grenadines",
"Suriname",
"Trinidad and Tobago",
"U.S. Virgin Islands",
"Venezuela"
]
}
]
curl --location --request POST 'https://zylalabs.com/api/9513/global+homicide+information+api/17391/fetch+countries+by+region' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"region":"Required"}'
[
{
"Location": "Argentina",
"Region": "Americas",
"Subregion": "South America",
"Intentional homicide victims per 100,000 inhabitants": 5.3,
"Estimate of civilian firearms per 100 persons": 7.4,
"Total firearm-related death rate per 100,000 inhabitants": 5.72
}
]
curl --location --request POST 'https://zylalabs.com/api/9513/global+homicide+information+api/17396/get+homicide+stats+by+country' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"country":"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 Gun Violence Stats API provides comprehensive statistics on gun ownership, intentional homicide rates per 100,000 inhabitants, and total firearm-related death rates per 100,000 inhabitants across various countries.
The API typically delivers data in structured output formats such as JSON or XML, allowing for easy integration into various analytical tools.
The API can be used for research purposes, policy analysis, public health studies, and to inform discussions on gun control and safety measures by providing accurate and detailed statistics.
The API includes data fields such as 'intentional homicide victims', estimates of civilian firearms per 100 persons, and total firearm-related death rates, all structured within nested data objects for each country.
Developers can integrate the API by utilizing its structured output formats to retrieve and analyze gun violence statistics, enabling them to build data-driven applications and dashboards that visualize trends and insights.
This endpoint returns a list of geographic regions represented in the dataset, allowing users to understand the geographical scope of the data. The response includes regions such as Asia, Europe, Africa, Oceania, and the Americas.
This endpoint provides a list of countries filtered by a specified region. Users can obtain country names within regions like the Americas, enabling targeted analysis of gun violence statistics by geographic area.
The response includes fields such as the country name, region, subregion, intentional homicide victims per 100,000 inhabitants, estimates of civilian firearms per 100 persons, and total firearm-related death rates per 100,000 inhabitants.
The response data is structured in nested JSON or XML objects, with each country represented as an individual object containing relevant statistics. This organization facilitates easy parsing and integration into applications.
This endpoint accepts a parameter specifying the region of interest, allowing users to customize their requests to retrieve countries from a particular geographic area, such as "Americas" or "Europe."
Users can analyze trends in gun violence and firearm ownership by visualizing the statistics in dashboards or reports. The structured format allows for easy integration into data analysis tools, enhancing research and policy discussions.
The API adheres to data standards and utilizes reliable sources for its statistics, ensuring accuracy and consistency. Regular quality checks are implemented to maintain the integrity of the data provided.
Typical use cases include academic research, public health assessments, policy formulation, and advocacy efforts related to gun control and safety measures, leveraging detailed statistics to inform decision-making.
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:
1,674ms
Service Level:
100%
Response Time:
4,607ms
Service Level:
100%
Response Time:
57ms
Service Level:
100%
Response Time:
70ms
Service Level:
100%
Response Time:
53ms
Service Level:
100%
Response Time:
5,659ms
Service Level:
100%
Response Time:
63ms
Service Level:
100%
Response Time:
8,683ms
Service Level:
100%
Response Time:
55ms
Service Level:
100%
Response Time:
1,476ms
Service Level:
100%
Response Time:
17ms
Service Level:
100%
Response Time:
18,392ms
Service Level:
100%
Response Time:
18ms
Service Level:
100%
Response Time:
16ms
Service Level:
100%
Response Time:
16ms
Service Level:
100%
Response Time:
2,896ms
Service Level:
100%
Response Time:
16ms
Service Level:
100%
Response Time:
18,499ms
Service Level:
100%
Response Time:
9,013ms
Service Level:
100%
Response Time:
20ms