MAPSCRAPX REST API & SDK Reference
Developer reference for REST API endpoints, bearer token authentication, rate limits, and JSON responses.
MAPSCRAPX REST API & SDK Reference — Official Video Tutorial
Watch this 3-minute video walkthrough to learn setup, parameters, and workflow best practices.
Overview
The MAPSCRAPX REST API enables programmatic access to all platform features. Use it to create scraper jobs, fetch leads, manage GBP profiles, generate AI content, and sync with external systems.
Authentication & Bearer Tokens
All REST API requests require a Bearer Token in the HTTP Authorization header. Generate API keys from Settings → API Keys.
curl -X GET https://api.mapscrapx.com/v1/leads \ -H 'Authorization: Bearer ms_live_secret_key_88921'
Who Should Use This Tool
Requirements & Specifications
Required Input Fields
| Field Name | Purpose | Required | Example Value | Validation & Tips |
|---|---|---|---|---|
| Authorization Header | Authenticate REST API requests | Required | Bearer ms_live_secret_key_88921 | Valid Bearer Token format Keep API keys secure. Do not commit keys to public repositories. |
Output Data Schema
| Output Property | Data Type | Description | Sample Value |
|---|---|---|---|
| status_code | number | Standard HTTP response code (200, 400, 401, 429, 500) | 200 |
| data | object/array | JSON payload containing requested record results | {} |
| rate_limit_remaining | number | Count of API requests remaining in current minute window | 984 |
End-to-End Workflow
Generate API Key
Navigate to Settings -> API Keys and click 'Create Secret Key'
Send POST Scraper Request
Execute cURL or SDK method with query & location parameters
Listen for Webhook
Receive POST payload on job completion
Troubleshooting Guide
0 credits for API calls | Standard tool execution credit costs apply
1,000 requests per minute rate limit
1,000 requests per minute per workspace key
Use Webhooks for async job completion events instead of polling endpoints.
REST API Reference
curl -X GET "https://api.mapscrapx.com/v1/leads?limit=10" \ -H "Authorization: Bearer ms_live_secret_key_88921"
{
"total": 1240,
"page": 1,
"limit": 10,
"leads": [
{"id": "lead_991", "business_name": "Tampa HVAC Pro", "phone": "+18135550192"}
]
}Frequently Asked Questions (15)
Click to expandhttps://api.mapscrapx.com/v1