{"Overall":{"Zipcode":"94102","Overall Crime Grade":"F","Violent Crime Grade":"F","Property Crime Grade":"F","Other Crime Grade":"D","Fact":"A crime occurs every 1 hour 32 minutes (on average) in 94102.","Risk":"300%","Risk Detail":"Your home is 300% more likely to be robbed with no home security system."},"Crime BreakDown":[{"Violent Crime Rates":{"Assault":"12.29","Robbery":"6.231","Rape":"0.5761","Murder":"0.2020"},"0":{"Total Violent Crime":"19.30","Total Violent Crime Score":"(F)"}},{"Property Crime Rates":{"Theft":"57.86","Vehicle Theft":"3.092","Burglary":"19.34","Arson":"3.733"},"0":{"Total Property Crime":"84.02","Total Property Crime Score":"(F)"}},{"Other Crime Rates":{"Kidnapping":"0.2892","Drug Crimes":"17.95","Vandalism":"16.25","Identity Theft":"1.104","Animal Cruelty":"0.0469"},"0":{"Total Other Rate":"35.64","Total Other Score":"(D)"}}],"Crime Rates Nearby":[{"Nearby Zip":"94103, CA","Overall Crime Grade":"F","Violent Crime Grade":"F","Property Crime Grade":"F"},{"Nearby Zip":"94109, CA","Overall Crime Grade":"F","Violent Crime Grade":"F","Property Crime Grade":"F"},{"Nearby Zip":"94108, CA","Overall Crime Grade":"F","Violent Crime Grade":"F","Property Crime Grade":"F"},{"Nearby Zip":"94104, CA","Overall Crime Grade":"F","Violent Crime Grade":"F","Property Crime Grade":"F"},{"Nearby Zip":"94115, CA","Overall Crime Grade":"C+","Violent Crime Grade":"D-","Property Crime Grade":"C-"},{"Nearby Zip":"94105, CA","Overall Crime Grade":"F","Violent Crime Grade":"F","Property Crime Grade":"F"},{"Nearby Zip":"94133, CA","Overall Crime Grade":"D-","Violent Crime Grade":"F","Property Crime Grade":"F"},{"Nearby Zip":"94107, CA","Overall Crime Grade":"F","Violent Crime Grade":"F","Property Crime Grade":"F"},{"Nearby Zip":"94158, CA","Overall Crime Grade":"F","Violent Crime Grade":"F","Property Crime Grade":"F"},{"Nearby Zip":"94117, CA","Overall Crime Grade":"B","Violent Crime Grade":"D","Property Crime Grade":"C"}],"Similar Population Crime Rates":[{"Similar Zip":"85132, AZ","Overall Crime Grade":"D","Violent Crime Grade":"C+","Property Crime Grade":"C+"},{"Similar Zip":"89431, NV","Overall Crime Grade":"C","Violent Crime Grade":"C","Property Crime Grade":"C"},{"Similar Zip":"89107, NV","Overall Crime Grade":"C","Violent Crime Grade":"C-","Property Crime Grade":"C-"},{"Similar Zip":"86314, AZ","Overall Crime Grade":"C+","Violent Crime Grade":"A","Property Crime Grade":"A"},{"Similar Zip":"30014, GA","Overall Crime Grade":"B+","Violent Crime Grade":"B+","Property Crime Grade":"B+"},{"Similar Zip":"30005, GA","Overall Crime Grade":"A","Violent Crime Grade":"A+","Property Crime Grade":"A+"},{"Similar Zip":"85251, AZ","Overall Crime Grade":"C+","Violent Crime Grade":"B-","Property Crime Grade":"B-"},{"Similar Zip":"29710, SC","Overall Crime Grade":"A","Violent Crime Grade":"A+","Property Crime Grade":"A+"},{"Similar Zip":"85233, AZ","Overall Crime Grade":"A","Violent Crime Grade":"A+","Property Crime Grade":"A+"},{"Similar Zip":"29650, SC","Overall Crime Grade":"A-","Violent Crime Grade":"A","Property Crime Grade":"A"}],"success":true,"status code":200}
curl --location --request GET 'https://zylalabs.com/api/6449/san+antonio+crime+scores+api/9295/crime+information?zip=94102' --header 'Authorization: Bearer YOUR_API_KEY'
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 San Antonio Crime Scores 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 🎉)
Introducing the San Antonio Crime Scores API — a powerful, developer-friendly solution for accessing detailed crime data and analytics. Delivering crime scores by ZIP code, this API offers deep insights into safety across San Francisco communities.
Stay current with the latest crime rates, emerging trends, and localized patterns. With effortless integration, it supports informed decision-making for public safety, urban planning, and efficient resource allocation — driving smarter strategies for building safer, stronger cities.
The GET Crime Information endpoint returns a JSON object containing detailed crime scores and rates for a specified ZIP code. This includes overall crime grades, breakdowns of violent, property, and other crime grades, as well as crime rates for nearby areas and similar populations.
Key fields in the response include "Overall Crime Grade," "Violent Crime Grade," "Property Crime Grade," "Other Crime Grade," "Violent Crime Rates," "Property Crime Rates," "Other Crime Rates," "Crime Rates Nearby," and "Similar Population Crime Rates."
The response data is structured as a JSON object with key-value pairs. Each key corresponds to a specific crime metric, allowing users to easily access and interpret the crime scores and rates for the requested ZIP code.
The endpoint provides information on overall crime scores, grades for violent and property crimes, crime rates, and comparisons with nearby areas and similar populations, offering a comprehensive view of local crime trends.
The primary parameter for the GET Crime Information endpoint is the ZIP code. Users must provide a valid ZIP code to retrieve the corresponding crime data for that area.
Data accuracy is maintained through regular updates from reliable sources, including law enforcement agencies and public records. Quality checks are implemented to ensure the integrity and reliability of the crime data provided.
Typical use cases include urban planning, public safety assessments, community awareness initiatives, and resource allocation for law enforcement, enabling stakeholders to make informed decisions based on local crime trends.
Users can analyze the crime grades and rates to identify high-risk areas, compare crime statistics across different ZIP codes, and develop strategies for improving community safety and resource distribution based on the insights gained.
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