FOAM Map API

FOAM Map TCR data.

Demo

This API helps power FOAM Tools.

Supplements the official FOAM API

This API is intended as a supplement to the official FOAM API.

API Access

Beta Version

The v0 endpoints are in beta. We expect to make some changes in advance of releasing the v1 stable version of the API.

Please email hello@blocklytics.org for an API key.

Append the API key to the end of the request. For example:

curl https://api.blocklytics.org/foam/v0/points?key=API_KEY

Points

get
All Points

https://api.blocklytics.org/foam/v0/points
Returns a list of all points.
Request
Response
Query Parameters
key
required
string
API Key
from
optional
string
to
optional
string
200: OK

get
History for Point

https://api.blocklytics.org/foam/v0/points/{listingHash}/history
Returns a list of historical activity related to a point.
Request
Response
Path Parameters
listingHash
required
string
Query Parameters
key
required
string
API Key
200: OK

Challenges

get
All Challenges

https://api.blocklytics.org/foam/v0/challenges
Returns a list of all challenges.
Request
Response
Path Parameters
daysBack
optional
number
Query Parameters
key
required
string
API Key
200: OK

get
History for Challenge

https://api.blocklytics.org/foam/v0/challenges/{id}/history
Returns the list of historical activity related to a challenge.
Request
Response
Path Parameters
id
required
number
Query Parameters
key
required
string
API Key
200: OK

Cartographers

get
All Cartographers

https://api.blocklytics.org/foam/v0/cartographers
Returns a list of all cartographers and a summary of their activity.
Request
Response
Query Parameters
key
required
string
API Key
200: OK

get
History for Cartographer

https://api.blocklytics.org/foam/v0/cartographers/{address}/history
Returns the list of historical activity related to a cartographer.
Request
Response
Path Parameters
address
required
string
Query Parameters
key
required
string
API Key
200: OK