Skip to main content
GET
Search apps

Authorizations

Authorization
string
header
required

Authorization: Bearer <key>. Used when both headers are present.

Query Parameters

q
string
required

The query, in the console's search syntax. Up to 256 characters (Unicode code points, not bytes) and 10 terms, where each free-text word and each filter value counts as one term. A missing or blank q is answered 400 query_required and is not counted.

Required string length: 1 - 256
Pattern: \S
page
integer
default:1

Page number, from 1 to 20000. Each page holds 50 hits. A page past the end returns an empty hits array. Values below 1 or that are not numbers are treated as 1. A larger page, including numbers too large to read, is answered 400 page_out_of_range. Unlike the console, which stops at page 20, the API pages through the full result set, but every page costs one search from the monthly allowance.

Required range: 1 <= x <= 20000

Response

One page of results.

query
string
required

The canonical form of the query Periphery ran. Filter values it could not read are dropped or searched as text, so this shows what actually ran. "" when q parsed to nothing (a missing or blank q is answered 400 query_required instead).

page
integer
required

The page returned, starting at 1.

pageSize
integer
required

Hits per page, 50.

hasMore
boolean
required

True when the next page holds at least one hit. Exact; always false on page 20000. Stop paging when it is false.

total
integer
required

Number of apps matching the query, across all pages, from a count cached up to 10 minutes and raised to at least what this page proves. Counting stops at 1,000,000; see totalCapped.

totalCapped
boolean
required

True when counting stopped at 1,000,000, so at least total apps match.

hits
object[]
required

Up to 50 hits for this page; [] when none.