Getting Started
Welcome to the API
The Local Business Pro REST API lets you programmatically access your business data, including events, account details, and more. All responses are returned as JSON.
Base URL
All API requests are made to your platform host at the
/api/v1 path:
https://backend.localbusiness.pro/api/v1Get Your API Keys
Each business is issued a public key and a private key (secret key). You can find these in your account settings under API & Integrations.
- The public key identifies your business in each request.
- The private key is used to generate HMAC signatures. Keep it secret — never expose it in client-side code.
Make Your First Request
The easiest way to verify your setup is with the
You should receive:
GET /status health-check endpoint. It requires no authentication:
curl ${backendUrl}/api/v1/status{\n "status": "ok",\n "api_version": "v1"\n}
Once that works, try an authenticated request to GET /me to confirm your keys are valid. See the Authorization guide for details on signing requests.Example Code
# 1. Health check (no auth required)
curl https://backend.localbusiness.pro/api/v1/status
# 2. Authenticated request to verify your keys
PUBLIC_KEY="your-public-key"
PRIVATE_KEY="your-private-key"
TIMESTAMP=$(date +%s)
PATH_URI="/api/v1/me"
SIGNATURE=$(printf '%s\n%s\n%s\n' "$TIMESTAMP" "GET" "$PATH_URI" \
| openssl dgst -sha256 -hmac "$PRIVATE_KEY" | awk '{print $2}')
curl -H "X-Public-Key: $PUBLIC_KEY" \
-H "X-Timestamp: $TIMESTAMP" \
-H "X-Signature: $SIGNATURE" \
"https://backend.localbusiness.pro$PATH_URI"