Credits

This section described how to check or buy Lookup credits through the API.

Balance

Request to check balance

GET https://a.looplookup.com/customer/api/v1/credits/balance/

Headers

Name
Type
Description

Authorization*

String

API Key

Content-Type*

String

application/json

{
  "credits": 100
}

Buy credits

Check available lookup packages

GET https://a.looplookup.com/customer/api/v1/credits/packages/

Headers

Name
Type
Description

Authorization*

String

API Key

Content-Type*

String

application/json

{
  "items": [
    {
      "id": "2BC4FD6A-CE49-439F-81DF-E895C09CA49C",
      "price": 10,
      "currency": "USD",
      "credits": 1000,
      "price_per_request": "0.01"
    }
  ]
}

Buy lookup package

POST https://a.looplookup.com/customer/api/v1/credits/buy/{package_id}/

Path Parameters

Name
Type
Description

package_id

String

The package ID that you can get from a list of available packages

Headers

Name
Type
Description

Authorization*

String

API Key

Content-Type*

String

application/json

{
  "success": true
}

Last updated