API Armor LogoAPI Armor
API Reference

API Reference

Complete reference documentation for the API Shield API endpoints.

Base URL

All API requests should be made to:

https://bifrost.api-armor.com

Authentication

All endpoints require authentication using a Bearer token in the Authorization header.

Authorization: Bearer aa_abc123xyz789

See the Authentication guide for more details.

Endpoints

Response Format

All API responses are returned in JSON format with appropriate HTTP status codes.

Success Response

200 OK

Successful requests return a 200 OK status code with the response data:

{
  "email": "user@example.com",
  "is_disposable": false,
  "domain": "example.com"
}

Error Response

Error responses include an error field with a machine-readable error code and a message field with a human-readable description:

{
  "error": "invalid_email",
  "message": "The provided email address is not valid"
}

Common Headers

Request Headers

HeaderRequiredDescription
AuthorizationYesBearer token for authentication
Content-TypeNoSet to application/json for POST requests

Response Headers

HeaderDescription
Content-TypeAlways application/json
X-RateLimit-LimitMaximum requests allowed per time window
X-RateLimit-RemainingRemaining requests in current window
X-RateLimit-ResetUnix timestamp when the rate limit resets

HTTP Status Codes

Status CodeDescription
200Request successful
400Bad request - Invalid parameters
401Unauthorized - Invalid or missing API key
403Forbidden - API key doesn't have required permissions
429Too many requests - Rate limit exceeded
500Internal server error
503Service unavailable

See the Error Handling guide for detailed error information.

Rate Limiting

API requests are rate-limited based on your subscription plan. Rate limit information is included in response headers.

See the Rate Limits guide for more details.

Next Steps

On this page