🔎
Lookup API Doc
  • 👋Introduction
  • Lookup API
    • Credentials
    • Lookup request
    • Callbacks
    • Statuses
    • Statistics
Powered by GitBook
On this page
  • Lookup history
  • Request for a single lookup
  • Bulk requests history
  • Request for a single lookup
  1. Lookup API

Statistics

This section described how to check Lookup results through the API.

Lookup history

Request for a single lookup

GET https://a.looplookup.com/customer/api/v1/lookup-history/

Query Parameters

Name
Type
Description

per_page

Int

Items per page, max value is 5000

page

Int

Number of page

sort

String

Possible values desc or asc.

from_date

String

Fetch results from a specific date. The date should be in the next format: 2023-12-31 (year - month - day)

to_date

String

Fetch results to a specific date. The date should be in the next format: 2023-12-31 (year - month - day)

status_callback

String

The URL that was used for the lookup callback.

search

String

The custom value can be used to filter results.

Supported values:

- phone number

- phone number region

- bulk request id

- lookup request id

Headers

Name
Type
Description

Authorization*

String

API Key

Content-Type*

String

application/json

{
  "page": 1,
  "num_pages": 10,
  "per_page": 5,
  "count": 50,
  "items": [
    {
      "id": "2BC4FD6A-CE49-439F-81DF-E895C09CA49C",
      "status": "processing",
      "contact": "+13231112233",
      "update_date": "2023-12-31T16:00:00Z",
      "create_date": "2023-12-31T16:00:00Z"
    }
  ]
}
{
    "success": false,
    "code": 100,
    "message": "Failed description",
}

Bulk requests history

Request for a single lookup

GET https://a.looplookup.com/customer/api/v1/lookup-list-history/

Path Parameters

Name
Type
Description

per_page

Int

Items per page, max value is 5000

page

Int

Number of page

sort

String

Possible values desc or asc.

from_date

String

Fetch results from a specific date. The date should be in the next format: 2023-12-31 (year - month - day)

to_date

String

Fetch results to a specific date. The date should be in the next format: 2023-12-31 (year - month - day)

search

String

The custom value can be used to filter results.

Supported values:

- phone number

- bulk request id

Headers

Name
Type
Description

Authorization*

String

API Key

Content-Type*

application/json

{
  "page": 1,
  "num_pages": 10,
  "per_page": 5,
  "count": 50,
  "items": [
    {
      "id": "2BC4FD6A-CE49-439F-81DF-E895C09CA49C",
      "count": 30,
      "completed": true,
      "create_date": "2023-12-31T16:00:00Z"
    }
  ]
}
{
    "success": false,
    "code": 100,
    "message": "Failed description",
}
PreviousStatuses

Last updated 3 months ago