{
  "x402Version": 2,
  "id": 35128,
  "slug": "35128",
  "resource": "https://chain.tollkit.dev/chain/pretrade",
  "description": "Check a token before trading: give a token address and trade size, get price, liquidity, rough price impact, chain warnings, your wallet's holding and recent news, in one call.",
  "type": "http",
  "serviceName": "Pre-Trade Token Check",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791089541/bazaar-icons/6490ef4ad700a0e0.png",
  "resourceType": "Beauty & Personal Care",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xBbfCE2D320dE6aB328Ba93A771c531ebFC9cE704",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "HBasGEGD1szEkNCWckRoZg2vZGhzt7yLSixLgSHi3gYf",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "chain": {
            "type": "string"
          },
          "checked_at": {
            "type": "string"
          },
          "decimals": {
            "type": [
              "integer",
              "null"
            ]
          },
          "explorer_url": {
            "type": "string"
          },
          "freeze_authority": {
            "type": [
              "string",
              "null"
            ]
          },
          "mint_authority": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "news_note": {
            "type": "string"
          },
          "note": {
            "type": "string"
          },
          "pool_depth_usd": {
            "type": [
              "integer",
              "null"
            ]
          },
          "position": {
            "properties": {
              "native_balance": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "native_symbol": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "token_balance": {
                "type": "number"
              },
              "token_value_usd": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "wallet": {
                "type": "string"
              }
            },
            "type": [
              "object",
              "null"
            ]
          },
          "price_source": {
            "type": [
              "string",
              "object",
              "null"
            ]
          },
          "price_usd": {
            "type": [
              "number",
              "null"
            ]
          },
          "recent_news": {
            "items": {
              "properties": {
                "date": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "snippet": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "title": {
                  "type": "string"
                },
                "url": {
                  "type": "string"
                }
              },
              "type": "object"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "symbol": {
            "type": [
              "string",
              "null"
            ]
          },
          "token": {
            "type": "string"
          },
          "total_supply": {
            "type": [
              "string",
              "null"
            ]
          },
          "trade_size": {
            "properties": {
              "amount_usd": {
                "type": "number"
              },
              "flag": {
                "enum": [
                  "ok",
                  "large_vs_pool",
                  "very_large_vs_pool",
                  "unknown_depth"
                ],
                "type": "string"
              },
              "pool_depth_usd": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "rough_price_impact_pct": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "share_of_pool_pct": {
                "type": [
                  "number",
                  "null"
                ]
              }
            },
            "type": [
              "object",
              "null"
            ]
          },
          "warning_count": {
            "type": "integer"
          },
          "warnings": {
            "items": {
              "properties": {
                "code": {
                  "type": "string"
                },
                "message": {
                  "type": "string"
                }
              },
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "chain",
          "token",
          "warnings",
          "note"
        ],
        "type": "object"
      }
    },
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "amount_usd": 500,
            "chain": "solana",
            "token": "JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "chain": "solana",
            "checked_at": "2026-10-05T08:43:25.149Z",
            "decimals": 6,
            "explorer_url": "https://solscan.io/token/JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN",
            "freeze_authority": null,
            "mint_authority": null,
            "name": "Jupiter",
            "news_note": "Top web results for the token's name and symbol; titles and links as published.",
            "note": "Facts read from the chain and the web, not a rating or advice. No warnings does not mean safe.",
            "pool_depth_usd": 407369,
            "position": null,
            "price_source": {
              "dex": "Orca Whirlpools",
              "fee_tier": 500,
              "pool": "C1MgLojNLWBKADvu9BHdtgzz1oZX4dZ5zGdGcgvvW8Wz",
              "quote_token": "SOL",
              "tick_spacing": 8
            },
            "price_usd": 0.336803,
            "recent_news": [
              {
                "date": null,
                "snippet": null,
                "title": "Jupiter Token Spikes as DEX Aggregator Plans to Spend Half its Fees On Buybacks",
                "url": "https://thedefiant.io/news/defi/jupiter-token-spikes-as-dex-aggregator-plans-to-spend-half-its-fees-on-buybacks"
              },
              {
                "date": null,
                "snippet": null,
                "title": "Jupiter spikes 40% as founder says 50% of fees will go to token buybacks",
                "url": "https://www.theblock.co/amp/post/337071/jupiter-spikes-40-as-founder-says-50-of-fees-will-go-to-token-buybacks"
              }
            ],
            "symbol": "JUP",
            "token": "JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN",
            "total_supply": "6861486339.419214",
            "trade_size": {
              "amount_usd": 500,
              "flag": "ok",
              "pool_depth_usd": 407369,
              "rough_price_impact_pct": 0.12,
              "share_of_pool_pct": 0.12
            },
            "warning_count": 0,
            "warnings": []
          },
          "type": "json"
        }
      },
      "schema": {
        "properties": {
          "input": {
            "properties": {
              "body": {
                "properties": {
                  "amount_usd": {
                    "description": "Optional: planned trade size in USD.",
                    "exclusiveMinimum": 0,
                    "type": "number"
                  },
                  "chain": {
                    "default": "base",
                    "description": "Which chain to read: \"base\" (default), \"ethereum\" or \"solana\".",
                    "enum": [
                      "base",
                      "ethereum",
                      "solana"
                    ],
                    "type": "string"
                  },
                  "token": {
                    "description": "ERC-20 contract or SPL mint.",
                    "pattern": "^(0x[0-9a-fA-F]{40}|[1-9A-HJ-NP-Za-km-z]{32,44})$",
                    "type": "string"
                  },
                  "wallet": {
                    "description": "Optional: your wallet, to see your current holding.",
                    "pattern": "^(0x[0-9a-fA-F]{40}|[1-9A-HJ-NP-Za-km-z]{32,44})$",
                    "type": "string"
                  }
                },
                "required": [
                  "token"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "chain": {
                    "type": "string"
                  },
                  "checked_at": {
                    "type": "string"
                  },
                  "decimals": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "explorer_url": {
                    "type": "string"
                  },
                  "freeze_authority": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "mint_authority": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "name": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "news_note": {
                    "type": "string"
                  },
                  "note": {
                    "type": "string"
                  },
                  "pool_depth_usd": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "position": {
                    "properties": {
                      "native_balance": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "native_symbol": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "token_balance": {
                        "type": "number"
                      },
                      "token_value_usd": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "wallet": {
                        "type": "string"
                      }
                    },
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "price_source": {
                    "type": [
                      "string",
                      "object",
                      "null"
                    ]
                  },
                  "price_usd": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "recent_news": {
                    "items": {
                      "properties": {
                        "date": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "snippet": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "title": {
                          "type": "string"
                        },
                        "url": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "symbol": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "token": {
                    "type": "string"
                  },
                  "total_supply": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "trade_size": {
                    "properties": {
                      "amount_usd": {
                        "type": "number"
                      },
                      "flag": {
                        "enum": [
                          "ok",
                          "large_vs_pool",
                          "very_large_vs_pool",
                          "unknown_depth"
                        ],
                        "type": "string"
                      },
                      "pool_depth_usd": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "rough_price_impact_pct": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "share_of_pool_pct": {
                        "type": [
                          "number",
                          "null"
                        ]
                      }
                    },
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "warning_count": {
                    "type": "integer"
                  },
                  "warnings": {
                    "items": {
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "chain",
                  "token",
                  "warnings",
                  "note"
                ],
                "type": "object"
              }
            },
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "trading",
    "token",
    "liquidity",
    "news",
    "defi",
    "bazaar"
  ],
  "sourceHost": "chain.tollkit.dev",
  "lastUpdated": "2026-10-08T05:35:19.954Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-08T05:35:16.307Z"
  },
  "metadata": {
    "serviceName": "Pre-Trade Token Check",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791089541/bazaar-icons/6490ef4ad700a0e0.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "amount_usd": 500,
              "chain": "solana",
              "token": "JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "chain": "solana",
              "checked_at": "2026-10-05T08:43:25.149Z",
              "decimals": 6,
              "explorer_url": "https://solscan.io/token/JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN",
              "freeze_authority": null,
              "mint_authority": null,
              "name": "Jupiter",
              "news_note": "Top web results for the token's name and symbol; titles and links as published.",
              "note": "Facts read from the chain and the web, not a rating or advice. No warnings does not mean safe.",
              "pool_depth_usd": 407369,
              "position": null,
              "price_source": {
                "dex": "Orca Whirlpools",
                "fee_tier": 500,
                "pool": "C1MgLojNLWBKADvu9BHdtgzz1oZX4dZ5zGdGcgvvW8Wz",
                "quote_token": "SOL",
                "tick_spacing": 8
              },
              "price_usd": 0.336803,
              "recent_news": [
                {
                  "date": null,
                  "snippet": null,
                  "title": "Jupiter Token Spikes as DEX Aggregator Plans to Spend Half its Fees On Buybacks",
                  "url": "https://thedefiant.io/news/defi/jupiter-token-spikes-as-dex-aggregator-plans-to-spend-half-its-fees-on-buybacks"
                },
                {
                  "date": null,
                  "snippet": null,
                  "title": "Jupiter spikes 40% as founder says 50% of fees will go to token buybacks",
                  "url": "https://www.theblock.co/amp/post/337071/jupiter-spikes-40-as-founder-says-50-of-fees-will-go-to-token-buybacks"
                }
              ],
              "symbol": "JUP",
              "token": "JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN",
              "total_supply": "6861486339.419214",
              "trade_size": {
                "amount_usd": 500,
                "flag": "ok",
                "pool_depth_usd": 407369,
                "rough_price_impact_pct": 0.12,
                "share_of_pool_pct": 0.12
              },
              "warning_count": 0,
              "warnings": []
            },
            "type": "json"
          }
        },
        "schema": {
          "properties": {
            "input": {
              "properties": {
                "body": {
                  "properties": {
                    "amount_usd": {
                      "description": "Optional: planned trade size in USD.",
                      "exclusiveMinimum": 0,
                      "type": "number"
                    },
                    "chain": {
                      "default": "base",
                      "description": "Which chain to read: \"base\" (default), \"ethereum\" or \"solana\".",
                      "enum": [
                        "base",
                        "ethereum",
                        "solana"
                      ],
                      "type": "string"
                    },
                    "token": {
                      "description": "ERC-20 contract or SPL mint.",
                      "pattern": "^(0x[0-9a-fA-F]{40}|[1-9A-HJ-NP-Za-km-z]{32,44})$",
                      "type": "string"
                    },
                    "wallet": {
                      "description": "Optional: your wallet, to see your current holding.",
                      "pattern": "^(0x[0-9a-fA-F]{40}|[1-9A-HJ-NP-Za-km-z]{32,44})$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "token"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "$schema": "https://json-schema.org/draft/2020-12/schema",
                  "properties": {
                    "chain": {
                      "type": "string"
                    },
                    "checked_at": {
                      "type": "string"
                    },
                    "decimals": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "explorer_url": {
                      "type": "string"
                    },
                    "freeze_authority": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "mint_authority": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "name": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "news_note": {
                      "type": "string"
                    },
                    "note": {
                      "type": "string"
                    },
                    "pool_depth_usd": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "position": {
                      "properties": {
                        "native_balance": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "native_symbol": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "token_balance": {
                          "type": "number"
                        },
                        "token_value_usd": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "wallet": {
                          "type": "string"
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "price_source": {
                      "type": [
                        "string",
                        "object",
                        "null"
                      ]
                    },
                    "price_usd": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "recent_news": {
                      "items": {
                        "properties": {
                          "date": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "snippet": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "title": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          }
                        },
                        "type": "object"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "symbol": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "token": {
                      "type": "string"
                    },
                    "total_supply": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "trade_size": {
                      "properties": {
                        "amount_usd": {
                          "type": "number"
                        },
                        "flag": {
                          "enum": [
                            "ok",
                            "large_vs_pool",
                            "very_large_vs_pool",
                            "unknown_depth"
                          ],
                          "type": "string"
                        },
                        "pool_depth_usd": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "rough_price_impact_pct": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "share_of_pool_pct": {
                          "type": [
                            "number",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "warning_count": {
                      "type": "integer"
                    },
                    "warnings": {
                      "items": {
                        "properties": {
                          "code": {
                            "type": "string"
                          },
                          "message": {
                            "type": "string"
                          }
                        },
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "chain",
                    "token",
                    "warnings",
                    "note"
                  ],
                  "type": "object"
                }
              },
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "chain.tollkit.dev",
    "manifest_name": "chain.tollkit.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "chain": "string",
      "checked_at": "string",
      "decimals": 0,
      "explorer_url": "string",
      "freeze_authority": "string",
      "mint_authority": "string",
      "name": "string",
      "news_note": "string",
      "note": "string",
      "pool_depth_usd": 0,
      "position": {
        "native_balance": 0,
        "native_symbol": "string",
        "token_balance": 0,
        "token_value_usd": 0,
        "wallet": "string"
      },
      "price_source": "string",
      "price_usd": 0,
      "recent_news": [
        {
          "date": "string",
          "snippet": "string",
          "title": "string",
          "url": "string"
        }
      ],
      "symbol": "string",
      "token": "string",
      "total_supply": "string",
      "trade_size": {
        "amount_usd": 0,
        "flag": "ok",
        "pool_depth_usd": 0,
        "rough_price_impact_pct": 0,
        "share_of_pool_pct": 0
      },
      "warning_count": 0,
      "warnings": [
        {
          "code": "string",
          "message": "string"
        }
      ]
    }
  }
}