The US Family Violence Stats API offers a structured and queryable interface to U.S. domestic violence statistics, sourced from publicly available data. This API enables developers, analysts, and policymakers to access key insights such as the percentage of domestic violence victims per state, state rankings, and other metrics. Each piece of data is exposed through a dedicated endpoint, allowing clients to retrieve specific information without over-fetching. The API supports fine-grained queries by accepting state-level parameters, making it ideal for building dashboards, conducting state-wise comparisons, or integrating with broader social policy platforms.
[
{
"states": [
"District of Columbia",
"Alaska",
"Wyoming",
"Idaho",
"Arkansas",
"Nevada",
"West Virginia",
"Washington",
"Massachusetts",
"Colorado",
"Michigan",
"Virginia",
"Indiana",
"Delaware",
"Illinois",
"California",
"Wisconsin",
"Louisiana",
"Alabama",
"Montana",
"Oklahoma",
"Arizona",
"Florida",
"New Hampshire",
"North Carolina",
"Oregon",
"Maryland",
"Georgia",
"New York",
"Minnesota",
"Missouri",
"South Carolina",
"New Mexico",
"Tennessee",
"Ohio",
"Connecticut",
"Mississippi",
"Maine",
"Pennsylvania",
"Nebraska",
"Iowa",
"Kansas",
"Rhode Island",
"New Jersey",
"South Dakota",
"North Dakota",
"Kentucky",
"Hawaii",
"Texas",
"Utah"
]
}
]
curl --location --request POST 'https://zylalabs.com/api/9251/us+family+violence+stats+api/16710/get+us+states+available' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{}'
[
{
"state": "Utah",
"%_domestic_violence": "36.9%"
}
]
curl --location --request POST 'https://zylalabs.com/api/9251/us+family+violence+stats+api/16711/get+domestic+violence+by+state' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"state":"Required"}'
[
{
"state": "Utah",
"%_physical_violence": "26.4%"
}
]
curl --location --request POST 'https://zylalabs.com/api/9251/us+family+violence+stats+api/16712/get+physical+violence+by+state' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"state":"Required"}'
[
{
"state": "Utah",
"%_sexual_violence_in_lifetime": "31.7%"
}
]
curl --location --request POST 'https://zylalabs.com/api/9251/us+family+violence+stats+api/16713/get+sexual+violence+by+state' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"state":"Required"}'
[
{
"state": "Utah",
"%_psychological_violence_in_lifetime": "34.9%"
}
]
curl --location --request POST 'https://zylalabs.com/api/9251/us+family+violence+stats+api/16714/get+psychological+violence+by+state' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"state":"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 API provides access to various domestic violence statistics, including incident rates, national rankings, and percentage values of domestic violence victims per state.
The API returns data in a structured format, typically JSON, which allows for easy integration and manipulation in applications.
The API can be used to build dashboards for visualizing domestic violence trends, conduct state-wise comparisons, and integrate insights into social policy platforms for informed decision-making.
Users can retrieve fields such as state names, incident rates, victim percentages, and state rankings related to domestic violence.
Developers can integrate the API by making targeted queries using state-level parameters to fetch specific data, allowing for customized insights and analysis in their applications.
Each endpoint returns specific domestic violence statistics for U.S. states. For example, the "get domestic violence by state" endpoint returns the percentage of women who have experienced domestic violence, while the "get physical violence by state" endpoint provides the percentage of women who have faced physical violence.
The key fields in the response data include "state" for the state name and various percentage fields such as "%_domestic_violence," "%_physical_violence," "%_sexual_violence_in_lifetime," and "%_psychological_violence_in_lifetime," depending on the endpoint used.
Users can specify a U.S. state as a parameter when querying the endpoints for domestic violence statistics. The state names can be retrieved from the "get us states available" endpoint, ensuring valid input for subsequent queries.
The response data is organized as a JSON array containing objects. Each object includes the "state" field and the relevant percentage field for the type of violence queried, making it easy to parse and utilize in applications.
The data is sourced from publicly available statistics on domestic violence, ensuring transparency and reliability. The API aggregates this data to provide insights at the state level.
Typical use cases include creating visualizations for domestic violence trends, conducting research for policy development, and providing resources for advocacy groups focused on domestic violence prevention.
Users can customize their requests by selecting specific states as parameters in the endpoints. This allows for targeted retrieval of data relevant to particular regions or demographics.
Users can utilize the returned data by integrating it into applications for analysis, reporting, or visualization. For instance, they can create dashboards that compare domestic violence rates across states, aiding in informed 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:
54ms
Service Level:
100%
Response Time:
53ms
Service Level:
100%
Response Time:
6,266ms
Service Level:
100%
Response Time:
52ms
Service Level:
100%
Response Time:
52ms
Service Level:
100%
Response Time:
4,952ms
Service Level:
100%
Response Time:
1,476ms
Service Level:
100%
Response Time:
55ms
Service Level:
100%
Response Time:
53ms
Service Level:
100%
Response Time:
53ms