POST
/
asset
/
list
Body
curl --request POST \
  --url https://chainpatrol-4nwgz2k0e-chainpatrol.vercel.app/api/v2/asset/list \
  --header 'Content-Type: application/json' \
  --data '{
  "endDate": "<string>",
  "startDate": "<string>",
  "status": "UNKNOWN",
  "type": "URL"
}'
{
  "assets": [
    {
      "content": "<string>",
      "status": "UNKNOWN",
      "type": "URL",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Body

application/json
endDate
string

The end date to list assets from. This should be in the format YYYY-MM-DD and is inclusive.

startDate
string

The start date to list assets from. This should be in the format YYYY-MM-DD and is inclusive.

status
enum<string>
default: BLOCKED

Status of the assets to retrieve

Available options:
UNKNOWN,
ALLOWED,
BLOCKED
type
enum<string>
required

Asset type

Available options:
URL,
PAGE,
ADDRESS,
DISCORD,
TWITTER,
FACEBOOK,
YOUTUBE,
REDDIT

Response

200 - application/json
assets
object[]
required