Phyles API Reference

Endpoints

Archive

Retrieve a user's archive by their username.

Endpoint

GET /farcaster/archive

Parameters

Example

GET https://api.phyles.xyz/v0/farcaster/archive?username=dwr

Response

Response includes all casts up until one year from the moment of the request.

{
  "casts": [
    {
      "attachments": "{\"openGraph\":[{\"url\":\"https://i.imgur.com/ajPnmVc.jpg\",\"domain\":\"i.imgur.com\",\"useLargeImage\":false,\"strippedCastText\":\"gm \"}]}",
      "cast_id": "0x50681a0a36fd350922d6be16ce3729ad3d6ca483",
      "display_name": "Dan Romero",
      "embeds": "",
      "parent_url": "",
      "parent_author": "",
      "parent_cast_id": "",
      "pfp": "https://res.cloudinary.com/merkle-manufactory/image/fetch/c_fill,f_png,w_256/https://lh3.googleusercontent.com/MyUBL0xHzMeBu7DXQAqv0bM9y6s4i4qjnhcXz5fxZKS3gwWgtamxxmxzCJX7m2cuYeGalyseCA2Y6OBKDMR06TWg2uwknnhdkDA1AA",
      "reactions": 69,
      "recasts": 0,
      "replies": 6,
      "text": "gm https://i.imgur.com/ajPnmVc.jpg",
      "timestamp": "2022-07-23T18:05:54.223Z",
      "username": "dwr"
    },
    ...
  ]
}