{
"states": [
"Minnesota",
"Connecticut",
"Massachusetts",
"New Jersey",
"Hawaii",
"Iowa",
"Rhode Island",
"Delaware",
"Maryland",
"Illinois",
"Wisconsin",
"Michigan",
"North Dakota",
"New York",
"Pennsylvania",
"New Hampshire",
"Texas",
"Indiana",
"Louisiana",
"Kansas",
"Nebraska",
"South Dakota",
"Maine",
"Georgia",
"Nevada",
"Alabama",
"Kentucky",
"Florida",
"Virginia",
"Missouri",
"Alaska",
"South Carolina",
"Vermont",
"Tennessee",
"Colorado",
"North Carolina",
"West Virginia",
"Wyoming",
"Utah",
"California",
"Ohio",
"Mississippi",
"Oklahoma",
"New Mexico",
"Arizona",
"Idaho",
"Montana",
"Arkansas",
"Washington",
"Oregon"
]
}
curl --location --request POST 'https://zylalabs.com/api/9963/funeral+cost+information+api/18840/available+us+states' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{}'
{
"state": "Florida",
"full_funeral_service_with_burial": "$8,385",
"affordable_burial": "$5,210"
}
curl --location --request POST 'https://zylalabs.com/api/9963/funeral+cost+information+api/18846/get+burial+cost+by+state' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"state":"Required"}'
{
"state": "Florida",
"full_funeral_service_with_cremation": "$5,957",
"direct_cremation": "$1,698"
}
curl --location --request POST 'https://zylalabs.com/api/9963/funeral+cost+information+api/18851/get+cremation+cost+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 Funeral Cost Information 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 🎉)
The Funeral Cost Information API allows developers, researchers, and businesses to retrieve U.S. funeral cost data in a clean, paginated, and parameterized format. Instead of fetching the entire dataset in one request, the API is designed with granular endpoints for flexibility. Users can first query available states, then request specific cost metrics such as average funeral cost, burial cost, or cremation cost by state. This design supports applications ranging from financial planning tools to demographic research and funeral service benchmarking. The API ensures efficient data retrieval, scalability, and clarity, with endpoints that return meaningful JSON responses, making it easy to embed cost data into analytical dashboards or consumer-facing applications.
The Funeral Cost Information API allows you to retrieve various types of funeral cost data, including average funeral costs, burial costs, and cremation costs, all categorized by U.S. state.
The API returns the funeral cost data in a clean, structured JSON format, making it easy to integrate into applications and analytical dashboards.
You can use the API to access state-specific funeral cost data, which can help individuals and families plan for funeral expenses, compare costs across states, and make informed financial decisions.
The API can be used in various applications, such as financial planning tools, demographic research, and benchmarking for funeral service providers, allowing users to gain insights into funeral expenses.
The API is designed with granular endpoints that allow users to query specific cost metrics without fetching the entire dataset at once, ensuring efficient data retrieval and easy integration into existing workflows.
The "available US states" endpoint returns a list of states with available funeral cost data. The "get burial cost by state" and "get cremation cost by state" endpoints return detailed cost insights, including specific costs for full funeral services, burial, and cremation for the requested state.
Key fields include "state" for the state name, "full_funeral_service_with_burial" and "affordable_burial" for burial costs, and "full_funeral_service_with_cremation" and "direct_cremation" for cremation costs. These fields provide essential cost metrics for users.
The response data is organized in a structured JSON format. Each endpoint returns an array of objects, with each object containing relevant cost information for the specified state, making it easy to parse and utilize in applications.
The primary parameter is the "state" for the burial and cremation cost endpoints. Users must specify the state to retrieve relevant cost data. The "available US states" endpoint does not require parameters and returns all states with available data.
Users can customize requests by specifying the state parameter when querying burial or cremation costs. This allows for targeted retrieval of cost data relevant to specific regions, enhancing the utility of the API for localized insights.
The data is sourced from reputable funeral industry reports and surveys, ensuring that the information reflects current trends and costs in the funeral services sector across the United States.
Typical use cases include financial planning for funeral expenses, demographic research on funeral costs, and benchmarking for funeral service providers. This data helps users understand regional cost variations and make informed decisions.
If a state has no available data, the API will return an empty array. Users should implement checks in their applications to handle such cases gracefully, ensuring that the absence of data does not disrupt user experience or analysis.
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