Introducing the Philadelphia Crime Scores API — a powerful and intuitive solution for accessing detailed crime data and analytics. With crime scores available by ZIP code, this API delivers meaningful insights into safety levels throughout Philadelphia communities.
Stay updated with the latest information on crime rates, emerging trends, and area-specific patterns. Built for easy integration, it enables data-driven decisions in public safety, urban planning, and resource management — helping to build safer, more resilient neighborhoods.
Just with the ZIP code to analyze, you will be receiving a JSON object with an Overall Crime Scoring, and also a breakdown of different crimes that are assessed on the zone.
Get information like:
Get Crime Information - Endpoint Features
| Object | Description |
|---|---|
zip |
[Required] ZIP Code to retrieve crime data from. |
{"Overall":{"Zipcode":"19103","Overall Crime Grade":"F","Violent Crime Grade":"F","Property Crime Grade":"F","Other Crime Grade":"F","Fact":"A crime occurs every 4 hours 3 minutes (on average) in 19103.","Risk":"300%","Risk Detail":"Your home is 300% more likely to be robbed with no home security system."},"Crime BreakDown":[{"Violent Crime Rates":{"Assault":"8.267","Robbery":"5.080","Rape":"0.3882","Murder":"0.0454"},"0":{"Total Violent Crime":"13.78","Total Violent Crime Score":"(F)"}},{"Property Crime Rates":{"Theft":"36.14","Vehicle Theft":"2.655","Burglary":"2.324","Arson":"0.0856"},"0":{"Total Property Crime":"41.21","Total Property Crime Score":"(F)"}},{"Other Crime Rates":{"Kidnapping":"0.3457","Drug Crimes":"3.060","Vandalism":"11.68","Identity Theft":"4.746","Animal Cruelty":"0.1848"},"0":{"Total \"Other\" Rate":"20.02","Total \"Other\" Score":"(F)"}}],"Crime Rates Nearby":[{"Nearby Zip":"19102, PA","Overall Crime Grade":"F","Violent Crime Grade":"F","Property Crime Grade":"F"},{"Nearby Zip":"19109, PA","Overall Crime Grade":"F","Violent Crime Grade":"F","Property Crime Grade":"F"},{"Nearby Zip":"19107, PA","Overall Crime Grade":"F","Violent Crime Grade":"F","Property Crime Grade":"F"},{"Nearby Zip":"19146, PA","Overall Crime Grade":"F","Violent Crime Grade":"F","Property Crime Grade":"F"},{"Nearby Zip":"19130, PA","Overall Crime Grade":"F","Violent Crime Grade":"F","Property Crime Grade":"D-"},{"Nearby Zip":"19106, PA","Overall Crime Grade":"F","Violent Crime Grade":"F","Property Crime Grade":"F"},{"Nearby Zip":"19147, PA","Overall Crime Grade":"F","Violent Crime Grade":"F","Property Crime Grade":"F"},{"Nearby Zip":"19104, PA","Overall Crime Grade":"F","Violent Crime Grade":"F","Property Crime Grade":"F"},{"Nearby Zip":"19123, PA","Overall Crime Grade":"F","Violent Crime Grade":"F","Property Crime Grade":"F"},{"Nearby Zip":"19145, PA","Overall Crime Grade":"F","Violent Crime Grade":"F","Property Crime Grade":"F"}],"Similar Population Crime Rates":[{"Similar Zip":"02760, MA","Overall Crime Grade":"B-","Violent Crime Grade":"C","Property Crime Grade":"C"},{"Similar Zip":"55118, MN","Overall Crime Grade":"C-","Violent Crime Grade":"D+","Property Crime Grade":"D+"},{"Similar Zip":"63640, MO","Overall Crime Grade":"D+","Violent Crime Grade":"B+","Property Crime Grade":"B+"},{"Similar Zip":"64151, MO","Overall Crime Grade":"A","Violent Crime Grade":"A","Property Crime Grade":"A"},{"Similar Zip":"48101, MI","Overall Crime Grade":"C-","Violent Crime Grade":"D","Property Crime Grade":"D"},{"Similar Zip":"33328, FL","Overall Crime Grade":"A","Violent Crime Grade":"A+","Property Crime Grade":"A+"},{"Similar Zip":"92107, CA","Overall Crime Grade":"B","Violent Crime Grade":"B+","Property Crime Grade":"B+"},{"Similar Zip":"29455, SC","Overall Crime Grade":"F","Violent Crime Grade":"F","Property Crime Grade":"F"},{"Similar Zip":"27804, NC","Overall Crime Grade":"D-","Violent Crime Grade":"D-","Property Crime Grade":"D-"},{"Similar Zip":"98027, WA","Overall Crime Grade":"A","Violent Crime Grade":"B","Property Crime Grade":"B"}],"success":true,"status code":200}
curl --location --request GET 'https://zylalabs.com/api/6450/philadelphia+crime+scores+api/9296/get+crime+information?zip=19103' --header 'Authorization: Bearer YOUR_API_KEY'
| 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 returns a JSON object containing detailed crime data for a specified ZIP code, including overall crime scores and breakdowns of violent, property, and other crime grades and rates.
Key fields in the response include "Overall Crime Grade," "Violent Crime Grade," "Property Crime Grade," "Other Crime Grade," and their respective rates, as well as "Crime Rates Nearby" and "Similar Population Crime Rates."
The response data is structured as a JSON object with key-value pairs. Each crime grade and rate is clearly labeled, allowing users to easily identify and utilize specific data points for analysis.
The API provides information on overall crime scores, grades for violent, property, and other crimes, crime rates, and comparisons with nearby areas and similar populations, offering a comprehensive view of local crime trends.
The data is sourced from official crime reports and law enforcement agencies, ensuring that the information is accurate and reflective of current crime trends in Philadelphia.
Typical use cases include urban planning, public safety assessments, neighborhood watch initiatives, and real estate evaluations, helping stakeholders make informed decisions based on local crime trends.
Users can customize requests by specifying different ZIP codes to retrieve crime data for specific areas, allowing for targeted analysis of crime trends in particular neighborhoods.
Users can analyze the crime grades and rates to identify high-risk areas, compare crime levels across neighborhoods, and inform community safety initiatives or resource allocation based on the insights provided.
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:
151ms
Service Level:
100%
Response Time:
1,621ms
Service Level:
100%
Response Time:
253ms
Service Level:
100%
Response Time:
3,448ms
Service Level:
100%
Response Time:
149ms
Service Level:
100%
Response Time:
922ms
Service Level:
100%
Response Time:
205ms
Service Level:
100%
Response Time:
179ms
Service Level:
100%
Response Time:
1,521ms
Service Level:
100%
Response Time:
180ms