Skip to main content

No Key Required

Most Market Motion endpoints work without authentication. This lets you explore the API and prototype quickly. Anonymous rate limit: 30 requests/minute

API Keys

For production use, get an API key to increase your rate limits.

Getting a Key

  1. Visit marketmotion.xyz/developer
  2. Sign in with your account
  3. Click “Create API Key”
  4. Choose key type (Test or Live)

Key Types

Using Your Key

Include the API key in the X-API-Key header:

Rate Limiting

When you exceed your rate limit, you’ll receive a 429 response:

Rate Limit Headers

Every response includes rate limit information:

Best Practices

Entity data doesn’t change frequently. Cache responses for 5-15 minutes to reduce API calls.
Fetch multiple entities at once using list endpoints with filters rather than individual lookups.
If rate limited, wait before retrying. Double the wait time on each retry.

Error Responses

All errors follow a consistent format:

HTTP Status Codes

Security

Keep your API keys secret. Never commit them to version control or expose them in client-side code.
Best practices:
  • Store keys in environment variables
  • Use server-side code to make API calls
  • Rotate keys if compromised
  • Use Test keys for development, Live keys for production