Skip to content
Docs
Esc
↑↓navigate↵open⌘Jpreview

Stored counts per filter choice.

Counts how many pools each filter choice has on a chain and tab, before any filter. The counts are stored, never counted per request.

GET/v1/pools/facets
Query parameters
tabstring

The list to show; only all in this version.

default: "all"
Allowed:all
chainstring

Only pools on this chain; every chain when left out.

Allowed:solanaethereumbaserobinhoodbscarchyperevm
Responses
200

Success.

protocolsobject[]required

Each protocol with its number of pools.

max items 6
Show properties
Array of object
idstringrequired
Allowed:uniswappancakeaerodromeramsesmeteoraraydium
countintegerrequired

A count of items.

min 0 · max 9007199254740991
variantsobject[]required

Each pool version or type with its number of pools.

max items 64
Show properties
Array of object
idstringrequired
max length 32
countintegerrequired

A count of items.

min 0 · max 9007199254740991
launchpadsobject[]required

Each launchpad with its number of pools.

max items 64
Show properties
Array of object
idstringrequired
max length 32
namestringrequired
max length 64
countintegerrequired

A count of items.

min 0 · max 9007199254740991
tagsobject[]required

Each label with its number of pools.

max items 3
Show properties
Array of object
idstringrequired
Allowed:newdynamic-feerwa
countintegerrequired

A count of items.

min 0 · max 9007199254740991
hookedintegerrequired

The number of pools with a hook.

min 0 · max 9007199254740991
totalintegerrequired

The number of pools on the chain and tab.

min 0 · max 9007199254740991
asOfintegerrequired

When the counts were stored, in Unix seconds.

min 0 · max 9007199254740991
400

Invalid input; errors names the fields.

typestring<uri-reference>required

A URI reference naming the problem type; about:blank when only the status says it.

max length 200
titlestringrequired

A short summary of the problem type, the same for every occurrence.

max length 200
statusintegerrequired

The HTTP status code of this answer.

min 400 · max 599
detailstring

What went wrong this time, for a person to read.

max length 500
instancestring<uri-reference>

A URI reference of this occurrence, quoted to support.

max length 200
codestringrequired

What a client branches on, stable across releases.

matches ^[a-z][a-z0-9_]{0,63}$
retryAfterSecondsinteger

Seconds to wait before asking again, on 429 and 503; the Retry-After header agrees.

max 9007199254740991
errorsobject[]

The fields that were refused, on 400.

max items 50
Show properties
Array of object
fieldstringrequired

The refused field, as a JSON path into the request.

max length 200
codestringrequired

Why it was refused, stable across releases.

max length 64
messagestring

The reason, for a person to read.

max length 200
429

Too many requests; retryAfterSeconds says when to ask again.

typestring<uri-reference>required

A URI reference naming the problem type; about:blank when only the status says it.

max length 200
titlestringrequired

A short summary of the problem type, the same for every occurrence.

max length 200
statusintegerrequired

The HTTP status code of this answer.

min 400 · max 599
detailstring

What went wrong this time, for a person to read.

max length 500
instancestring<uri-reference>

A URI reference of this occurrence, quoted to support.

max length 200
codestringrequired

What a client branches on, stable across releases.

matches ^[a-z][a-z0-9_]{0,63}$
retryAfterSecondsinteger

Seconds to wait before asking again, on 429 and 503; the Retry-After header agrees.

max 9007199254740991
errorsobject[]

The fields that were refused, on 400.

max items 50
Show properties
Array of object
fieldstringrequired

The refused field, as a JSON path into the request.

max length 200
codestringrequired

Why it was refused, stable across releases.

max length 64
messagestring

The reason, for a person to read.

max length 200
500

Server error.

typestring<uri-reference>required

A URI reference naming the problem type; about:blank when only the status says it.

max length 200
titlestringrequired

A short summary of the problem type, the same for every occurrence.

max length 200
statusintegerrequired

The HTTP status code of this answer.

min 400 · max 599
detailstring

What went wrong this time, for a person to read.

max length 500
instancestring<uri-reference>

A URI reference of this occurrence, quoted to support.

max length 200
codestringrequired

What a client branches on, stable across releases.

matches ^[a-z][a-z0-9_]{0,63}$
retryAfterSecondsinteger

Seconds to wait before asking again, on 429 and 503; the Retry-After header agrees.

max 9007199254740991
errorsobject[]

The fields that were refused, on 400.

max items 50
Show properties
Array of object
fieldstringrequired

The refused field, as a JSON path into the request.

max length 200
codestringrequired

Why it was refused, stable across releases.

max length 64
messagestring

The reason, for a person to read.

max length 200
Try it
Server
Parameters
Request
curl -X GET 'https://api.lpinvictus.com/v1/pools/facets' \
  -H 'Accept: application/json'
Response
{
  "protocols": [
    {
      "id": "uniswap",
      "count": 0
    }
  ],
  "variants": [
    {
      "id": "string",
      "count": 0
    }
  ],
  "launchpads": [
    {
      "id": "string",
      "name": "string",
      "count": 0
    }
  ],
  "tags": [
    {
      "id": "new",
      "count": 0
    }
  ],
  "hooked": 0,
  "total": 0,
  "asOf": 1793145600
}

Was this page helpful?