[
{
"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/9446/us+family+violence+statistics+api/17209/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/9446/us+family+violence+statistics+api/17213/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/9446/us+family+violence+statistics+api/17217/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/9446/us+family+violence+statistics+api/17222/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/9446/us+family+violence+statistics+api/17226/get+psychological+violence+by+state' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"state":"Required"}'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the US Family Violence Statistics API simply include your bearer token in the Authorization header.
| 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.
(Save 2 months with annual billing 🎉)
Trusted by leading companies
The US Family Violence Statistics 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.
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, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key 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.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
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. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
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.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund