API Reference

REST API/About/Requests

Making Requests

Learn how to structure your API requests and handle responses

Request Format

All requests to the API should be made over HTTPS and include the appropriate headers and authentication. Here's an example of a basic request:

bash
curl -X GET "https://browserize.com/api/browsers" \
  -H "Authorization: Bearer sk-brz-yourapikeyhere" \
  -H "Content-Type: application/json"

HTTP Methods

The API supports the following HTTP methods:

MethodDescriptionExample
GETRetrieve resourcesGET /browsers
POSTCreate new resourcesPOST /browsers
PUTUpdate existing resourcesPUT /browsers/{id}
DELETERemove resourcesDELETE /browsers/{id}

Headers

Required and optional headers for API requests:

HeaderRequiredDescription
AuthorizationYesYour API key in the format "Bearer sk-brz-..."
Content-TypeYes*application/json for requests with a body
AcceptNoSpecify response format (defaults to application/json)

Query Parameters

Many endpoints support query parameters for filtering, sorting, and pagination:

http
GET /browsers?status=active&sort=created_at&order=desc&limit=10

Common query parameters include:

  • limit - Number of items per page (default: 10, max: 100)
  • offset - Number of items to skip
  • sort - Field to sort by
  • order - Sort order (asc or desc)