Header Authentication
Include your API key in the request header:
Header Format
Authorization: Bearer YOUR_API_KEYWelcome to the Real Estate API platform. Our API provides comprehensive real estate analytics through a credit-based system, offering access to property data, market conditions, crime statistics, schools, hotels, tourism information, and regulatory restrictions across the United States.
Sign up for an account on PulseReal.com to access our API services. You'll need an active account to:
Registration Process:
Choose a credit package that suits your needs. Credits are consumed when you make API calls.
Credit Consumption:
Create API keys from your dashboard to authenticate your requests.
API Key Management:
Use your API keys to authenticate requests to our endpoints. All endpoints support standard HTTP GET requests with query parameters.
Example Request
curl -H "Authorization: Bearer YOUR_API_KEY" \
"https://api.pulsereal.com/v1/city_hazard/get?city=San%20Francisco&state=CA"All API requests must be authenticated using your API key. Each request consumes credits based on complexity and data volume.
Include your API key in the request header:
Header Format
Authorization: Bearer YOUR_API_KEYAuthentication Examples
// Using fetch
fetch('https://api.pulsereal.com/v1/city_data/get?city=New%20York&state=NY', {
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
}
})
.then(response => response.json())
.then(data => console.log(data));
// Using curl
curl -H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
"https://api.pulsereal.com/v1/city_data/get?city=New%20York&state=NY"Our API provides comprehensive real estate data through organized endpoint categories. Each endpoint returns JSON data and supports standard pagination.
Access comprehensive data organized by city
Access general information and restrictions
Granular data organized by ZIP code
Manage your account and monitor usage
Use the Swagger UI below to test endpoints directly from this documentation:
Access comprehensive data organized by city including hazards, hotels, tourism, and short-term rental information.
GET /v1/city_hazard/get · 1 credit per call
Retrieve hazard information for specific cities including natural disaster risks, environmental concerns, and safety metrics.
GET /v1/city_hazard/get?city=Miami&state=FL&min_population=100000| Name | Type | Required | Description |
|---|---|---|---|
| city | array[string] | No | City names to filter |
| county | array[string] | No | County names to filter |
| state | array[string] | No | State abbreviations to filter |
| min_population | integer | No | Minimum population threshold |
| max_population | integer | No | Maximum population threshold |
| page | integer | No | Page number (default: 1) |
| page_size | integer | No | Results per page (default: 10) |
{
"data": [
{
"city": "Miami",
"state": "FL",
"hazards": {
"hurricane_risk": "high",
"flood_risk": "medium",
"earthquake_risk": "low"
},
"safety_score": 7.2,
"population": 467963
}
],
"pagination": {
"page": 1,
"page_size": 10,
"total": 1
}
}GET /v1/city_hotels/get · 1 credit per call
Access hotel and accommodation data for cities including pricing, availability, and market analysis.
GET /v1/city_hotels/get?city=Las%20Vegas&state=NV| Name | Type | Required | Description |
|---|---|---|---|
| city | array[string] | No | City names to filter |
| county | array[string] | No | County names to filter |
| state | array[string] | No | State abbreviations to filter |
| zip | array[string] | No | ZIP codes to filter |
| page | integer | No | Page number (default: 1) |
| page_size | integer | No | Results per page (default: 10) |
{
"data": [
{
"city": "Las Vegas",
"state": "NV",
"hotel_count": 150,
"average_rate": 125.50,
"occupancy_rate": 0.78,
"revenue_per_room": 98.29
}
]
}GET /v1/city_st_details/get · 1 credit per call
Retrieve detailed short-term rental market data including pricing, occupancy rates, and property characteristics.
GET /v1/city_st_details/get?city=Austin&state=TX&bedroom_count=2| Name | Type | Required | Description |
|---|---|---|---|
| city | array[string] | No | City names to filter |
| county | array[string] | No | County names to filter |
| state | array[string] | No | State abbreviations to filter |
| min_population | integer | No | Minimum population threshold |
| max_population | integer | No | Maximum population threshold |
| bedroom_count | integer | No | Filter by number of bedrooms |
| page | integer | No | Page number (default: 1) |
| page_size | integer | No | Results per page (default: 10) |
{
"data": [
{
"city": "Austin",
"state": "TX",
"bedroom_count": 2,
"average_nightly_rate": 145.00,
"occupancy_rate": 0.72,
"revenue_per_month": 3132.00
}
]
}GET /v1/city_tourism/get · 1 credit per call
Access tourism statistics and visitor data for cities including seasonal trends and attraction information.
GET /v1/city_tourism/get?state=CA&min_population=500000| Name | Type | Required | Description |
|---|---|---|---|
| city | array[string] | No | City names to filter |
| county | array[string] | No | County names to filter |
| state | array[string] | No | State abbreviations to filter |
| min_population | integer | No | Minimum population threshold |
| max_population | integer | No | Maximum population threshold |
| page | integer | No | Page number (default: 1) |
| page_size | integer | No | Results per page (default: 10) |
{
"data": [
{
"city": "San Francisco",
"state": "CA",
"annual_visitors": 25700000,
"tourism_revenue": 9500000000,
"top_attractions": ["Golden Gate Bridge", "Alcatraz", "Fisherman's Wharf"]
}
]
}Access general data including crime statistics, school information, and regulatory restrictions.
GET /v1/crime_data/get · 1 credit per call
Retrieve crime statistics and safety metrics for cities and regions.
GET /v1/crime_data/get?city=Chicago&state=IL| Name | Type | Required | Description |
|---|---|---|---|
| city | array[string] | No | City names to filter |
| county | array[string] | No | County names to filter |
| state | array[string] | No | State abbreviations to filter |
| page | integer | No | Page number (default: 1) |
| page_size | integer | No | Results per page (default: 10) |
{
"data": [
{
"city": "Chicago",
"state": "IL",
"crime_rate": 3.83,
"violent_crime_rate": 0.95,
"property_crime_rate": 2.88,
"safety_index": 6.2
}
]
}GET /v1/schools/get · 1 credit per call
Access school district information, ratings, and educational quality metrics.
GET /v1/schools/get?city=Palo%20Alto&state=CA| Name | Type | Required | Description |
|---|---|---|---|
| city | array[string] | No | City names to filter |
| county | array[string] | No | County names to filter |
| state | array[string] | No | State abbreviations to filter |
| zip | array[string] | No | ZIP codes to filter |
| page | integer | No | Page number (default: 1) |
| page_size | integer | No | Results per page (default: 10) |
{
"data": [
{
"city": "Palo Alto",
"state": "CA",
"district_name": "Palo Alto Unified",
"rating": 9.2,
"student_teacher_ratio": 18.5,
"graduation_rate": 0.96
}
]
}GET /v1/homeowners_restrictions/get · 1 credit per call
Access information about homeowner restrictions, HOA regulations, and property ownership limitations.
GET /v1/homeowners_restrictions/get?city=Miami&state=FL| Name | Type | Required | Description |
|---|---|---|---|
| city | array[string] | No | City names to filter |
| county | array[string] | No | County names to filter |
| state | array[string] | No | State abbreviations to filter |
| page | integer | No | Page number (default: 1) |
| page_size | integer | No | Results per page (default: 10) |
{
"data": [
{
"city": "Miami",
"state": "FL",
"hoa_prevalence": 0.78,
"average_hoa_fee": 325.00,
"common_restrictions": ["pet restrictions", "rental restrictions", "architectural guidelines"]
}
]
}GET /v1/rental_restrictions/get · 1 credit per call
Retrieve rental property restrictions and regulations including rent control and tenant protection laws.
GET /v1/rental_restrictions/get?city=San%20Francisco&state=CA| Name | Type | Required | Description |
|---|---|---|---|
| city | array[string] | No | City names to filter |
| county | array[string] | No | County names to filter |
| state | array[string] | No | State abbreviations to filter |
| zip | array[string] | No | ZIP codes to filter |
| page | integer | No | Page number (default: 1) |
| page_size | integer | No | Results per page (default: 10) |
{
"data": [
{
"city": "San Francisco",
"state": "CA",
"rent_control": true,
"max_annual_increase": 0.025,
"tenant_protections": ["just cause eviction", "relocation assistance"]
}
]
}GET /v1/st_restrictions/get · 1 credit per call
Retrieve regulations and restrictions specific to short-term rental properties and Airbnb-style accommodations.
GET /v1/st_restrictions/get?city=New%20York&state=NY| Name | Type | Required | Description |
|---|---|---|---|
| city | array[string] | No | City names to filter |
| county | array[string] | No | County names to filter |
| state | array[string] | No | State abbreviations to filter |
| zip | array[string] | No | ZIP codes to filter |
| page | integer | No | Page number (default: 1) |
| page_size | integer | No | Results per page (default: 10) |
{
"data": [
{
"city": "New York",
"state": "NY",
"str_allowed": false,
"min_stay_requirement": 30,
"registration_required": true,
"licensing_fees": 850.00
}
]
}Access data organized by ZIP code for granular location analysis including market conditions, demographics, and crime statistics.
GET /v1/zip_crimes/get · 1 credit per call
Access crime statistics organized by ZIP code for granular location analysis.
GET /v1/zip_crimes/get?zip_code=10001&state=NY| Name | Type | Required | Description |
|---|---|---|---|
| state | array[string] | No | State abbreviations to filter |
| zip_code | array[string] | No | Specific ZIP codes to query |
| page | integer | No | Page number (default: 1) |
| page_size | integer | No | Results per page (default: 10) |
{
"data": [
{
"zip_code": "10001",
"state": "NY",
"crime_rate": 2.45,
"violent_crime_rate": 0.68,
"property_crime_rate": 1.77
}
]
}GET /v1/zip_data/get · 1 credit per call
Retrieve comprehensive demographic and economic data organized by ZIP code.
GET /v1/zip_data/get?zip_code=90210&state=CA| Name | Type | Required | Description |
|---|---|---|---|
| state | array[string] | No | State abbreviations to filter |
| zip_code | array[string] | No | Specific ZIP codes to query |
| page | integer | No | Page number (default: 1) |
| page_size | integer | No | Results per page (default: 10) |
{
"data": [
{
"zip_code": "90210",
"state": "CA",
"population": 23026,
"median_income": 174167,
"median_home_value": 2750000
}
]
}GET /v1/zip_market_condition/get · 1 credit per call
Retrieve real estate market conditions and trends by ZIP code including pricing and inventory data.
GET /v1/zip_market_condition/get?zip_code=78701&state=TX| Name | Type | Required | Description |
|---|---|---|---|
| state | array[string] | No | State abbreviations to filter |
| zip_code | array[string] | No | Specific ZIP codes to query |
| page | integer | No | Page number (default: 1) |
| page_size | integer | No | Results per page (default: 10) |
{
"data": [
{
"zip_code": "78701",
"state": "TX",
"median_price": 675000,
"price_per_sqft": 425,
"days_on_market": 18,
"inventory_months": 2.1
}
]
}Manage your account and monitor API usage with these endpoints.
GET /v1/account/ · 1 credit per call
Retrieve your account information including credit balance, usage statistics, and subscription details.
GET /v1/account/{
"account_id": "acc_12345",
"email": "user@example.com",
"plan": "professional",
"credits": {
"remaining": 8543,
"total_purchased": 10000,
"last_purchase": "2024-05-15"
},
"usage": {
"current_month": 1457,
"last_month": 2103
},
"created_at": "2024-01-15T10:30:00Z"
}GET /
Simple health check endpoint to verify API availability.
Health Check Example
GET /
Response:
{
"status": "ok",
"timestamp": "2024-06-06T15:30:00Z",
"version": "1.0.0"
}To ensure fair usage and optimal performance for all users, the following rate limits apply to API requests.
Currently, we are offering a free tier of 100 requests per minute.
Each response includes rate limit information in the headers:
Response Headers
X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 999
X-RateLimit-Reset: 1640995200
X-RateLimit-Retry-After: 3600The API uses standard HTTP status codes and returns detailed error information in JSON format.
| Code | Status | Description |
| 200 | OK | Success |
| 400 | Bad Request | Invalid parameters |
| 401 | Unauthorized | Invalid API key |
| 403 | Forbidden | Insufficient permissions |
| 404 | Not Found | Endpoint doesn't exist |
| 422 | Validation Error | Invalid input data |
| 429 | Too Many Requests | Rate limit exceeded |
| 500 | Internal Server Error | Server error |
General Error Format
{
"detail": [
{
"loc": ["query", "parameter_name"],
"msg": "Error description",
"type": "error_type"
}
]
}Invalid API Key:
401 Unauthorized
{
"detail": "Invalid authentication credentials"
}Validation Error:
422 Validation Error
{
"detail": [
{
"loc": ["query", "min_population"],
"msg": "ensure this value is greater than 0",
"type": "value_error.number.not_gt"
}
]
}Rate Limit Exceeded:
429 Too Many Requests
{
"detail": "Rate limit exceeded. Try again in 3600 seconds.",
"retry_after": 3600
}Our credit-based system allows you to pay only for what you use while providing predictable costs for your API consumption.
| Operation Type | Credits per Call | Description |
| Standard queries | 1 | Most API endpoints with default parameters |
| Large result sets (>100 records) | 2-3 | Queries returning extensive data |
| Complex geographic queries | 2-5 | Multi-city or multi-state requests |
| Account information | 0 | Checking balance and usage |
Monitor and manage your credit usage effectively:
/v1/account/ endpointGet help with our API through multiple support channels and resources.
Batch Processing:
Batch Request Example
// Process multiple cities efficiently
GET /v1/city_data/get?city=New%20York&city=Los%20Angeles&city=Chicago&state=NY&state=CA&state=ILGeographic Analysis:
Multi-Source Analysis
// Combine multiple data sources
GET /v1/zip_market_condition/get?zip_code=10001
GET /v1/zip_crimes/get?zip_code=10001
GET /v1/schools/get?zip=10001