{
  "x402Version": 2,
  "id": 31990,
  "slug": "31990",
  "resource": "https://402.com.tr/api/x402/price-alert",
  "description": "Pay once to register a price-threshold alert on any Base token. Supply target price, direction (above/below), and an https webhook URL. A polling cron (daily by default; configurable to ~minutes) checks DexScreener and POSTs your webhook when it crosses. Expires after 30 days. Or omit the webhook and poll with check=<id>: the verdict is THRESHOLD_MET, ok, FIRED, or unknown when the price feed could not be read.",
  "type": "http",
  "serviceName": "Token Price Alert",
  "resourceType": "Security",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x973a31858f4d2125f48c880542da11a2796f12d6",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "50000",
      "amountUsd": 0.05,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "pathParams": {},
          "queryParams": {
            "direction": "above",
            "threshold": "0.01",
            "token": "0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "alertId": "alrt_7d4e3f9c",
            "direction": "above",
            "expiresInDays": 30,
            "fired": false,
            "priceAtCreate": 0.0072,
            "registered": true,
            "threshold": 0.01,
            "token": "0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "pathParams": {
                "type": "object"
              },
              "queryParams": {
                "properties": {
                  "check": {
                    "description": "Or: alert id to poll its status",
                    "type": "string"
                  },
                  "direction": {
                    "description": "Direction (above/below)",
                    "type": "string"
                  },
                  "threshold": {
                    "description": "Price threshold (USD)",
                    "type": "string"
                  },
                  "token": {
                    "description": "Token address",
                    "type": "string"
                  },
                  "webhook": {
                    "description": "Webhook URL (optional — omit to poll)",
                    "type": "string"
                  }
                },
                "required": [
                  "token",
                  "threshold",
                  "direction"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "bc_pa0gqlv1"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    }
  },
  "tags": [
    "onchain",
    "evm",
    "wallet-intel",
    "security",
    "data",
    "bazaar",
    "builder-code"
  ],
  "sourceHost": "402.com.tr",
  "lastUpdated": "2026-10-13T05:41:22.865Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T05:41:22.525Z"
  },
  "metadata": {
    "serviceName": "Token Price Alert",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "pathParams": {},
            "queryParams": {
              "direction": "above",
              "threshold": "0.01",
              "token": "0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "alertId": "alrt_7d4e3f9c",
              "direction": "above",
              "expiresInDays": 30,
              "fired": false,
              "priceAtCreate": 0.0072,
              "registered": true,
              "threshold": 0.01,
              "token": "0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "pathParams": {
                  "type": "object"
                },
                "queryParams": {
                  "properties": {
                    "check": {
                      "description": "Or: alert id to poll its status",
                      "type": "string"
                    },
                    "direction": {
                      "description": "Direction (above/below)",
                      "type": "string"
                    },
                    "threshold": {
                      "description": "Price threshold (USD)",
                      "type": "string"
                    },
                    "token": {
                      "description": "Token address",
                      "type": "string"
                    },
                    "webhook": {
                      "description": "Webhook URL (optional — omit to poll)",
                      "type": "string"
                    }
                  },
                  "required": [
                    "token",
                    "threshold",
                    "direction"
                  ],
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      },
      "builder-code": {
        "info": {
          "a": "bc_pa0gqlv1"
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "a": {
              "description": "App builder code",
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "s": {
              "description": "Service builder codes",
              "items": {
                "pattern": "^[a-z0-9_]{1,32}$",
                "type": "string"
              },
              "type": "array"
            },
            "w": {
              "description": "Wallet builder code",
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            }
          },
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "402.com.tr",
    "manifest_name": "402.com.tr",
    "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": {},
    "type": "string"
  }
}