Surf
surfSurf provides AI-ready financial, crypto, prediction-market, equity, on-chain, news, search, and web data through a unified API.
Acciones disponibles (122)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Cancel Asynchronous Blockchain SQL JobSURF_CANCEL_ONCHAIN_SQL_JOBAcciónDurably request cancellation of an asynchronous blockchain SQL job and return its current state. Queued jobs become canceled immediately; running queries stop asynchronously, so poll the job until it is canceled or failed.
SURF_CANCEL_ONCHAIN_SQL_JOBAcciónDurably request cancellation of an asynchronous blockchain SQL job and return its current state. Queued jobs become canceled immediately; running queries stop asynchronously, so poll the job until it is canceled or failed.
Parámetros de entrada
job_idstringObligatoriouuidAsynchronous SQL job identifier to cancel.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Submit Asynchronous Blockchain SQL JobSURF_CREATE_ONCHAIN_SQL_JOBAcciónSubmit a read-only ClickHouse SQL query for durable background execution and return its stable job and query identifiers immediately. Equivalent retained queries with the same max_rows, or requests reusing an Idempotency-Key, return the existing job.
SURF_CREATE_ONCHAIN_SQL_JOBAcciónSubmit a read-only ClickHouse SQL query for durable background execution and return its stable job and query identifiers immediately. Equivalent retained queries with the same max_rows, or requests reusing an Idempotency-Key, return the existing job.
Parámetros de entrada
sqlstringObligatorioExact read-only ClickHouse SQL to execute asynchronously. The submitted SQL and date range are preserved.
max_rowsintegerMaximum number of result rows to retain.
idempotency_keystringStable client-generated key. Reusing it returns the retained existing job instead of starting another query.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
DEX Token OHLCV PriceSURF_GET_DEX_TOKEN_PRICEAcciónReturn USD DEX-pool-weighted OHLCV bars for one token identified by chain and contract address. Use this for DEX-native or newly launched tokens; use the standard market price action for major listed assets.
SURF_GET_DEX_TOKEN_PRICEAcciónReturn USD DEX-pool-weighted OHLCV bars for one token identified by chain and contract address. Use this for DEX-native or newly launched tokens; use the standard market price action for major listed assets.
Parámetros de entrada
tostringEnd of a custom range as Unix seconds or YYYY-MM-DD. Must be used with `from_`; together they override `time_range`.
chainstringObligatorioenumChain the token lives on. Can be `ethereum`, `base`, `bsc`, `arbitrum`, `optimism`, `polygon`, `avalanche`, or `solana`.
ethereumbasebscarbitrumoptimismpolygonavalanchesolanafrom_stringStart of a custom range as Unix seconds or YYYY-MM-DD. Must be used with `to`; together they override `time_range`.
addressstringObligatorioToken contract address: 0x-prefixed 42-character hex for EVM chains or base58 for Solana. Do not pass a ticker symbol.
intervalstringenumCandle bucket size. Sub-day intervals from `1m` through `4h` are typically best for active DEX analysis.
1m5m15m30m1h4h12h1d7dtime_rangestringenumHistorical window. `max` returns at most 1500 bars for the selected interval. Ignored when both `from_` and `to` are set.
1h6h12h24h7d30d90d180d365dmax
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Equity Balance SheetSURF_GET_EQUITY_BALANCE_SHEETAcciónReturn standardized balance-sheet periods for a US-listed equity. Each metric includes an availability status, and unavailable values are null.
SURF_GET_EQUITY_BALANCE_SHEETAcciónReturn standardized balance-sheet periods for a US-listed equity. Each metric includes an availability status, and unavailable values are null.
Parámetros de entrada
limitintegerMaximum number of financial periods to return (1-100).
periodstringenumFinancial period to return.
quarterlyannualsymbolstringObligatorioUS equity ticker symbol.
end_datestringInclusive latest period end date in YYYY-MM-DD format.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Equity Price CandlesSURF_GET_EQUITY_CANDLESAcciónReturn historical OHLCV candles and the latest traded price for a US-listed equity. Candles are ordered by timestamp ascending; historical data and the latest price use independent freshness windows.
SURF_GET_EQUITY_CANDLESAcciónReturn historical OHLCV candles and the latest traded price for a US-listed equity. Candles are ordered by timestamp ascending; historical data and the latest price use independent freshness windows.
Parámetros de entrada
symbolstringObligatorioUS equity ticker symbol.
end_datestringInclusive end date in YYYY-MM-DD format; defaults to the current date in US Eastern time.
intervalstringenumCandle interval.
dayweekmonthyearstart_datestringInclusive start date in YYYY-MM-DD format; defaults to one year before end_date.
interval_multiplierintegerNumber of intervals represented by each candle.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Equity Cash FlowSURF_GET_EQUITY_CASH_FLOWAcciónReturn paginated standardized cash-flow periods for a US-listed equity. The response preserves serving-layer values, status, origin, and period metadata.
SURF_GET_EQUITY_CASH_FLOWAcciónReturn paginated standardized cash-flow periods for a US-listed equity. The response preserves serving-layer values, status, origin, and period metadata.
Parámetros de entrada
limitintegerMaximum number of financial periods to return (1-100).
periodstringenumFinancial period to return.
quarterlyytdannualttmsymbolstringObligatorioUS equity ticker symbol.
end_datestringInclusive latest period end date in YYYY-MM-DD format.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Equity ProfileSURF_GET_EQUITY_COMPANY_PROFILEAcciónReturn a standardized stock company profile or ETF product profile, including its business description and source-update metadata.
SURF_GET_EQUITY_COMPANY_PROFILEAcciónReturn a standardized stock company profile or ETF product profile, including its business description and source-update metadata.
Parámetros de entrada
symbolstringObligatorioUS equity ticker symbol.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Equity Financial MetricsSURF_GET_EQUITY_FINANCIAL_METRICSAcciónReturn paginated standardized financial ratios, growth measures, per-share values, and valuation metrics for a US-listed equity.
SURF_GET_EQUITY_FINANCIAL_METRICSAcciónReturn paginated standardized financial ratios, growth measures, per-share values, and valuation metrics for a US-listed equity.
Parámetros de entrada
limitintegerMaximum number of financial periods to return (1-100).
periodstringenumFinancial metric period.
quarterlyannualttmsymbolstringObligatorioUS equity ticker symbol.
end_datestringInclusive latest period end date in YYYY-MM-DD format.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Equity Income StatementSURF_GET_EQUITY_INCOME_STATEMENTAcciónReturn standardized income-statement periods for a US-listed equity. The API passes through available periods and does not synthesize missing periods or financial values.
SURF_GET_EQUITY_INCOME_STATEMENTAcciónReturn standardized income-statement periods for a US-listed equity. The API passes through available periods and does not synthesize missing periods or financial values.
Parámetros de entrada
limitintegerMaximum number of financial periods to return (1-100).
periodstringenumFinancial period to return.
quarterlyytdannualttmsymbolstringObligatorioUS equity ticker symbol.
end_datestringInclusive latest period end date in YYYY-MM-DD format.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Latest Equity FilingsSURF_GET_EQUITY_LATEST_FILINGSAcciónReturn the most recently accepted periodic SEC filings across US equities. Includes 10-K, 10-Q, 20-F, 40-F and amendments, excludes 8-K, and returns one filing per reporting series.
SURF_GET_EQUITY_LATEST_FILINGSAcciónReturn the most recently accepted periodic SEC filings across US equities. Includes 10-K, 10-Q, 20-F, 40-F and amendments, excludes 8-K, and returns one filing per reporting series.
Parámetros de entrada
limitintegerMaximum number of filings to return (1-20).
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Latest Equity FinancialsSURF_GET_EQUITY_LATEST_FINANCIALSAcciónReturn the most recently published current-serving TTM financials across US equities, optionally filtered by a minimum current market capitalization. Results contain one company per reporting series.
SURF_GET_EQUITY_LATEST_FINANCIALSAcciónReturn the most recently published current-serving TTM financials across US equities, optionally filtered by a minimum current market capitalization. Results contain one company per reporting series.
Parámetros de entrada
limitintegerMaximum number of companies to return (1-20).
market_cap_minnumberMinimum current-serving market capitalization in USD. Omit to disable this filter.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Equity MetadataSURF_GET_EQUITY_METAAcciónReturn lightweight identity, logo, and latest USD price metadata for one or more US-listed stocks or ETFs. Symbols are returned in request order. Company and fund identity is cached for 24 hours; prices are cached independently for 1 minute.
SURF_GET_EQUITY_METAAcciónReturn lightweight identity, logo, and latest USD price metadata for one or more US-listed stocks or ETFs. Symbols are returned in request order. Company and fund identity is cached for 24 hours; prices are cached independently for 1 minute.
Parámetros de entrada
symbolsstring[]ObligatorioUS stock or ETF ticker symbols to look up, with at most 20 symbols.
include_tokenizedbooleanInclude issuer-minted crypto tokens that track each equity, with their chains and contract addresses. Omit unless tokenized counterparts are needed.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Equity Financial OverviewSURF_GET_EQUITY_OVERVIEWAcciónReturn a paginated financial overview for a US-listed equity. Values are served as reported or derived by the financial-data serving layer; missing values remain explicit nulls and are not recalculated by this API.
SURF_GET_EQUITY_OVERVIEWAcciónReturn a paginated financial overview for a US-listed equity. Values are served as reported or derived by the financial-data serving layer; missing values remain explicit nulls and are not recalculated by this API.
Parámetros de entrada
limitintegerMaximum number of financial periods to return (1-100).
periodstringenumFinancial period.
quarterlyytdannualttmsymbolstringObligatorioUS equity ticker symbol.
end_datestringInclusive latest period end date in YYYY-MM-DD format.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Exchange Order Book DepthSURF_GET_EXCHANGE_DEPTHAcciónReturn bid and ask order-book levels for an exchange market, including spread, spread percentage, mid-price, and total bid and ask depth.
SURF_GET_EXCHANGE_DEPTHAcciónReturn bid and ask order-book levels for an exchange market, including spread, spread percentage, mid-price, and total bid and ask depth.
Parámetros de entrada
pairstringObligatorioTrading pair in BASE/QUOTE form.
typestringenumMarket type. Use `spot` for spot trading or `swap`, `perpetual`, or `perp` for perpetual contracts.
spotswapperpetualperplimitintegerNumber of bid and ask price levels to return (1-100).
exchangestringenumExchange identifier. Hyperliquid uses USDC-settled perpetual pairs, such as BTC/USDC:USDC.
binanceokxbybitbitgetcoinbasekrakengatemexcupbitbitstampderibitbitmex+2
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Exchange Funding Rate HistorySURF_GET_EXCHANGE_FUNDING_HISTORYAcciónReturn historical funding rate records for a perpetual contract.
SURF_GET_EXCHANGE_FUNDING_HISTORYAcciónReturn historical funding rate records for a perpetual contract.
Parámetros de entrada
pairstringObligatorioTrading pair for the perpetual contract.
from_stringStart of the time range as Unix seconds, YYYY-MM-DD, or ISO 8601. Some exchanges return only recent data regardless of this value.
limitintegerMaximum records to return (1-500). For a later window, pass the last returned timestamp as from_.
exchangestringenumExchange identifier. Hyperliquid uses USDC-settled perpetual pairs, such as BTC/USDC:USDC.
binanceokxbybitbitgetgatehtxmexcbitfinexbitmexhyperliquid
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Exchange OHLCV CandlesticksSURF_GET_EXCHANGE_KLINESAcciónReturn exchange OHLCV candlesticks with high, low, and total-volume statistics for the returned period. Set `type` to a perpetual-market variant to query perpetual contracts instead of spot markets.
SURF_GET_EXCHANGE_KLINESAcciónReturn exchange OHLCV candlesticks with high, low, and total-volume statistics for the returned period. Set `type` to a perpetual-market variant to query perpetual contracts instead of spot markets.
Parámetros de entrada
pairstringObligatorioTrading pair in BASE/QUOTE form.
typestringenumMarket type. Use `spot` for spot trading or `swap`, `perpetual`, or `perp` for perpetual contracts.
spotswapperpetualperpfrom_stringStart of the time range as Unix seconds, YYYY-MM-DD, or an ISO 8601 date-time.
limitintegerMaximum candles to return (1-1000). Exchanges may enforce a lower limit. For a later window, make another call with `from_` set to the last returned candle timestamp.
exchangestringenumExchange identifier. Hyperliquid uses USDC-settled perpetual pairs, such as BTC/USDC:USDC.
binanceokxbybitbitgetcoinbasekrakengatehtxkucoinmexcupbitbitfinex+5intervalstringenumCandle bucket duration. This endpoint does not accept `time_range`; use `from_` and `limit` to control the window.
1m3m5m15m30m1h2h4h6h8h12h1d+3
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Exchange Long/Short Ratio HistorySURF_GET_EXCHANGE_LONG_SHORT_RATIOAcciónReturn historical long/short ratios for a perpetual contract.
SURF_GET_EXCHANGE_LONG_SHORT_RATIOAcciónReturn historical long/short ratios for a perpetual contract.
Parámetros de entrada
pairstringObligatorioPerpetual contract pair in BASE/QUOTE form.
from_stringStart of the time range as Unix seconds, YYYY-MM-DD, or ISO 8601. Binance retains up to the last 30 days; other exchanges may differ.
limitintegerMaximum number of ratio points to return (1-500).
exchangestringenumExchange identifier.
binanceokxbybitbitgetintervalstringenumBucket size for each ratio point. This endpoint does not accept time_range; use from_ and limit to control the window.
1h4h1d
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Exchange Trading PairsSURF_GET_EXCHANGE_MARKETSAcciónReturn trading pairs available on an exchange, including base and quote currencies, market type, active status, and default fee rates. Use the returned pair values with other exchange actions.
SURF_GET_EXCHANGE_MARKETSAcciónReturn trading pairs available on an exchange, including base and quote currencies, market type, active status, and default fee rates. Use the returned pair values with other exchange actions.
Parámetros de entrada
basestringBase currency filter.
typestringenumMarket type filter. `perpetual` and `perp` are aliases for swap markets.
spotswapfutureoptionperpetualperplimitintegerMaximum number of markets to return (1-5000).
quotestringQuote currency filter.
searchstringFuzzy search over the pair, base currency, and quote currency.
exchangestringenumExchange identifier. Defaults to Binance; select another venue to list only that exchange's markets.
binanceokxbybitbitgetcoinbasekrakengatehtxkucoinmexcupbitbitfinex+5
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Exchange Perpetual Contract SnapshotSURF_GET_EXCHANGE_PERPAcciónReturn a perpetual futures snapshot for a trading pair, including current funding, open interest, mark price, and index price data.
SURF_GET_EXCHANGE_PERPAcciónReturn a perpetual futures snapshot for a trading pair, including current funding, open interest, mark price, and index price data.
Parámetros de entrada
pairstringObligatorioTrading pair in BASE/QUOTE form. Surf adds the perpetual settle suffix from the quote currency automatically.
fieldsstring[]Data groups to include: `funding` for current funding data and `oi` for open interest. Each group may be selected at most once.
exchangestringenumExchange identifier. Hyperliquid uses USDC-settled perpetuals, such as BTC/USDC:USDC.
binanceokxbybitbitgethtxbitfinexbitmexhyperliquid
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Exchange Ticker PriceSURF_GET_EXCHANGE_PRICEAcciónReturn the real-time ticker for an exchange trading pair, including the last price, best bid and ask, 24-hour high, low, volume, and price change.
SURF_GET_EXCHANGE_PRICEAcciónReturn the real-time ticker for an exchange trading pair, including the last price, best bid and ask, 24-hour high, low, volume, and price change.
Parámetros de entrada
pairstringObligatorioTrading pair in BASE/QUOTE form.
typestringenumMarket type. Use `spot` for spot trading or `swap`, `perpetual`, or `perp` for perpetual contracts.
spotswapperpetualperpexchangestringenumExchange identifier. Hyperliquid uses USDC-settled perpetual pairs, such as BTC/USDC:USDC.
binanceokxbybitbitgetcoinbasekrakengatehtxkucoinmexcupbitbitfinex+5
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Fund Profile DetailSURF_GET_FUND_DETAILAcciónReturn a crypto VC fund's full profile, including its description, jurisdiction, unique invested-project count, links, X accounts, team members, and recent research. This does not return individual investments.
SURF_GET_FUND_DETAILAcciónReturn a crypto VC fund's full profile, including its description, jurisdiction, unique invested-project count, links, X accounts, team members, and recent research. This does not return individual investments.
Parámetros de entrada
fund_idstringSurf fund UUID. Provide fund_id or fund_name. Prefer this exact identifier when available; it takes priority over fund_name.
fund_namestringFuzzy fund name. Provide fund_id or fund_name, and use fund_name only when fund_id is unavailable. Ambiguous names may match an unexpected fund.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Account PortfolioSURF_GET_HYPERLIQUID_ACCOUNTAcciónReturn a Hyperliquid wallet's point-in-time portfolio across perpetuals, spot, vaults, and HYPE staking. Use total_value_usd for the best-effort whole-account value and unpriced_token_count to determine whether it excludes unpriced spot holdings.
SURF_GET_HYPERLIQUID_ACCOUNTAcciónReturn a Hyperliquid wallet's point-in-time portfolio across perpetuals, spot, vaults, and HYPE staking. Use total_value_usd for the best-effort whole-account value and unpriced_token_count to determine whether it excludes unpriced spot holdings.
Parámetros de entrada
addressstringObligatorioWallet address as a 0x EVM address or ENS name, such as vitalik.eth. Solana addresses are not supported.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Market CandlesSURF_GET_HYPERLIQUID_CANDLESAcciónReturn Hyperliquid market OHLCV candles ordered by open time ascending for a required half-open [from_, to) window. The window may contain at most 5,000 candles, so use a larger interval or narrower dates for long histories. This market-data action does not require a wallet address.
SURF_GET_HYPERLIQUID_CANDLESAcciónReturn Hyperliquid market OHLCV candles ordered by open time ascending for a required half-open [from_, to) window. The window may contain at most 5,000 candles, so use a larger interval or narrower dates for long histories. This market-data action does not require a wallet address.
Parámetros de entrada
tostringObligatorioWindow end as Unix seconds, an ISO 8601 date-time, or a UTC date. A date means the end of that day.
from_stringObligatorioWindow start as Unix seconds, an ISO 8601 date-time, or a UTC date.
symbolstringObligatorioHyperliquid market ID, such as BTC, kPEPE, xyz:GOLD, the canonical PURR/USDC spot pair, or an @index spot market.
intervalstringenumCandle granularity.
1m3m5m15m30m1h2h4h8h12h1d3d+2
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Open & Recent OrdersSURF_GET_HYPERLIQUID_ORDERSAcciónReturn a wallet's live resting orders and recent terminal orders. Use the open section to inspect active stops, take-profits, and limits, and the historical section for final filled, canceled, or rejected statuses.
SURF_GET_HYPERLIQUID_ORDERSAcciónReturn a wallet's live resting orders and recent terminal orders. Use the open section to inspect active stops, take-profits, and limits, and the historical section for final filled, canceled, or rejected statuses.
Parámetros de entrada
addressstringObligatorioWallet address: a 0x EVM address or an ENS name. Solana addresses are not supported.
open_limitintegerMaximum open orders to return. `open_total` reports the count before this limit is applied.
historical_limitintegerMaximum terminal orders to return, newest first. `historical_total` reports the count before this limit is applied.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Trading PerformanceSURF_GET_HYPERLIQUID_PERFORMANCEAcciónReturn a wallet's lifetime funding-excluded realized trading performance, live open positions, unrealized PnL, and perpetual clearinghouse equity. This point-in-time summary has no date window or trade list; use account portfolio data when spot and vault equity must be included.
SURF_GET_HYPERLIQUID_PERFORMANCEAcciónReturn a wallet's lifetime funding-excluded realized trading performance, live open positions, unrealized PnL, and perpetual clearinghouse equity. This point-in-time summary has no date window or trade list; use account portfolio data when spot and vault equity must be included.
Parámetros de entrada
addressstringObligatorioWallet address as a 0x EVM address or ENS name. Solana addresses are not supported.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Open PositionsSURF_GET_HYPERLIQUID_POSITIONSAcciónReturn a wallet's open Hyperliquid perpetual positions with leverage, unrealized PnL, ROE, funding, liquidation risk, and its cross-margin summary. When a cross position has no liquidation price, use the account-level margin_ratio as the liquidation-proximity signal.
SURF_GET_HYPERLIQUID_POSITIONSAcciónReturn a wallet's open Hyperliquid perpetual positions with leverage, unrealized PnL, ROE, funding, liquidation risk, and its cross-margin summary. When a cross position has no liquidation price, use the account-level margin_ratio as the liquidation-proximity signal.
Parámetros de entrada
dexstringenumMarket scope. Omit or use `main_dex` for Hyperliquid's native market; otherwise select a builder market.
main_dexxyzflxvntlhynakmabcdcashparamktsaddressstringObligatorioWallet address as a 0x EVM address or ENS name, such as vitalik.eth. Solana addresses are not supported.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Closed Trade Funding and LeverageSURF_GET_HYPERLIQUID_TRADE_CONTEXTAcciónReturn immutable funding and leverage context for one closed Hyperliquid trade using the composite key from the trades action. Use funding_status to distinguish a real zero from unavailable funding history; leverage fields may be omitted when the completed-trade source has no value.
SURF_GET_HYPERLIQUID_TRADE_CONTEXTAcciónReturn immutable funding and leverage context for one closed Hyperliquid trade using the composite key from the trades action. Use funding_status to distinguish a real zero from unavailable funding history; leverage fields may be omitted when the completed-trade source has no value.
Parámetros de entrada
symbolstringObligatorioHyperliquid perpetual market ID, including the builder prefix for a HIP-3 market.
addressstringObligatorioWallet address as a 0x EVM address or ENS name. Solana addresses are not supported.
directionstringObligatorioenumOpening direction of the closed trade episode.
longshortopen_timeintegerObligatorioEpisode open time as Unix seconds, copied from the matching trade returned by the Hyperliquid trades action.
close_timeintegerObligatorioEpisode close time as Unix seconds, copied from the matching trade returned by the Hyperliquid trades action.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Closed Trades AggregateSURF_GET_HYPERLIQUID_TRADES_AGGREGATEAcciónAggregate a wallet's closed Hyperliquid trades by UTC day, symbol, direction, notional-size tier, or holding-time tier. Returns server-side P&L, fee, funding-coverage, win-rate, and volume rollups in one bounded, non-paginated response; use daily groups for a realized equity curve.
SURF_GET_HYPERLIQUID_TRADES_AGGREGATEAcciónAggregate a wallet's closed Hyperliquid trades by UTC day, symbol, direction, notional-size tier, or holding-time tier. Returns server-side P&L, fee, funding-coverage, win-rate, and volume rollups in one bounded, non-paginated response; use daily groups for a realized equity curve.
Parámetros de entrada
tostringInclusive close-time window end as Unix seconds, an ISO 8601 date-time, or a UTC date; a date includes that whole day. Defaults to now.
dexstringenumMarket scope. Use main_dex for the native market or a builder-market name; omit to aggregate across all markets.
main_dexxyzflxvntlhynakmabcdcashparamktsfrom_stringInclusive close-time window start as Unix seconds, an ISO 8601 date-time, or a UTC date. Omit for full history.
addressstringObligatorioWallet address as a 0x EVM address or ENS name. Solana addresses are not supported.
group_bystringenumRollup dimension: UTC day, market symbol, long/short direction, notional-size bucket, or holding-time bucket.
daysymboldirectionsize_buckethold_bucketfill_gapsbooleanFor a daily aggregation, emit zero rows for no-trade UTC days. Requires from_ to bound the dense calendar.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Kalshi Open Interest HistorySURF_GET_KALSHI_OPEN_INTERESTAcciónReturn daily open-interest history for one Kalshi market over a selected time window. Data refreshes approximately every 30 minutes.
SURF_GET_KALSHI_OPEN_INTERESTAcciónReturn daily open-interest history for one Kalshi market over a selected time window. Data refreshes approximately every 30 minutes.
Parámetros de entrada
tickerstringObligatorioKalshi market ticker. Discover valid tickers with the Kalshi markets or prediction-market search actions.
time_rangestringenumHistory window. This endpoint returns daily points and does not accept an interval parameter.
7d30d90d180d1y
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Kalshi Price HistorySURF_GET_KALSHI_PRICESAcciónReturn hourly or daily OHLC price history for one Kalshi market, or the latest price from recent trades. Surf refreshes this data about every 30 minutes.
SURF_GET_KALSHI_PRICESAcciónReturn hourly or daily OHLC price history for one Kalshi market, or the latest price from recent trades. Surf refreshes this data about every 30 minutes.
Parámetros de entrada
tickerstringObligatorioKalshi market ticker. Discover valid tickers with the Kalshi markets or prediction-market search actions.
intervalstringenumPoint granularity: `1h` for hourly OHLC, `1d` for daily OHLC, or `latest` for the most recent trade price.
1h1dlatesttime_rangestringenumHistory window. Ignored when `interval` is `latest`; distinct from the interval bucket size.
7d30d90d180d1y
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Kalshi Volume HistorySURF_GET_KALSHI_VOLUMESAcciónReturn daily notional trading-volume history for one Kalshi market over a selected time window. Surf refreshes this data about every 30 minutes.
SURF_GET_KALSHI_VOLUMESAcciónReturn daily notional trading-volume history for one Kalshi market over a selected time window. Surf refreshes this data about every 30 minutes.
Parámetros de entrada
tickerstringObligatorioKalshi market ticker. Discover valid tickers with the Kalshi markets or prediction-market search actions.
time_rangestringenumHistory window: `7d`, `30d`, `90d`, `180d`, or `1y`. This endpoint returns daily points and does not accept an interval parameter.
7d30d90d180d1y
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
ETF Flow HistorySURF_GET_MARKET_ETFAcciónReturn daily spot ETF flow history for BTC, ETH, XRP, SOL, or HYPE, including net USD flow, closing token price, settlement status, and per-ticker flow breakdowns.
SURF_GET_MARKET_ETFAcciónReturn daily spot ETF flow history for BTC, ETH, XRP, SOL, or HYPE, including net USD flow, closing token price, settlement status, and per-ticker flow breakdowns.
Parámetros de entrada
tostringEnd of the time range as Unix seconds or a YYYY-MM-DD date.
from_stringStart of the time range as Unix seconds or a YYYY-MM-DD date.
orderstringenumSort direction for the returned daily flow rows.
ascdescsymbolstringObligatorioenumUnderlying token symbol for the spot ETF flow history.
BTCETHXRPSOLHYPEsort_bystringenumField used to sort the returned daily flow rows.
flow_usdtimestamp
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Fear & Greed Index HistorySURF_GET_MARKET_FEAR_GREEDAcciónReturn Bitcoin Fear and Greed Index history, including each 0-100 index value, its classification, and the Bitcoin price at that time. Results are sorted newest first and can be bounded by a date or Unix-time range.
SURF_GET_MARKET_FEAR_GREEDAcciónReturn Bitcoin Fear and Greed Index history, including each 0-100 index value, its classification, and the Bitcoin price at that time. Results are sorted newest first and can be bounded by a date or Unix-time range.
Parámetros de entrada
tostringEnd of the time range as Unix seconds or a YYYY-MM-DD date.
from_stringStart of the time range as Unix seconds or a YYYY-MM-DD date.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Futures Market OverviewSURF_GET_MARKET_FUTURESAcciónReturn a single ranked snapshot of futures market data across all tracked tokens, including open interest, funding rate, long/short ratio, and 24-hour volume. The endpoint returns the complete list and does not support symbol filtering or pagination.
SURF_GET_MARKET_FUTURESAcciónReturn a single ranked snapshot of futures market data across all tracked tokens, including open interest, funding rate, long/short ratio, and 24-hour volume. The endpoint returns the complete list and does not support symbol filtering or pagination.
Parámetros de entrada
orderstringenumSort direction for the ranked futures snapshot.
ascdescsort_bystringenumFutures metric used to rank the returned tokens.
open_interestfunding_ratevolume_24hlong_short_ratio
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Liquidation ChartSURF_GET_MARKET_LIQUIDATION_CHARTAcciónReturn time-bucketed aggregate long- and short-side liquidation volumes for a token on a specific exchange and interval.
SURF_GET_MARKET_LIQUIDATION_CHARTAcciónReturn time-bucketed aggregate long- and short-side liquidation volumes for a token on a specific exchange and interval.
Parámetros de entrada
tostringEnd of the time range as Unix seconds or a YYYY-MM-DD date.
from_stringStart of the time range as Unix seconds or a YYYY-MM-DD date.
limitintegerMaximum chart points to return (1-4500).
symbolstringObligatorioToken ticker symbol.
exchangestringenumExchange whose liquidation data should be aggregated.
BinanceOKXBybitBitgetHyperliquidGateHTXBitmexBitfinexCoinExAsterLighterintervalstringenumBucket size for each liquidation chart point. This endpoint does not accept `time_range`; use `from_` and `to` to bound the series.
1m3m5m15m30m1h4h6h8h12h1d1w
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Liquidation by ExchangeSURF_GET_MARKET_LIQUIDATION_EXCHANGE_LISTAcciónReturn a single ranked snapshot of total, long-side, and short-side liquidation volumes by exchange for a token and aggregation window.
SURF_GET_MARKET_LIQUIDATION_EXCHANGE_LISTAcciónReturn a single ranked snapshot of total, long-side, and short-side liquidation volumes by exchange for a token and aggregation window.
Parámetros de entrada
orderstringenumSort direction for the ranked exchange snapshot.
ascdescsymbolstringToken ticker symbol whose liquidations should be aggregated.
sort_bystringenumLiquidation volume field used to rank exchanges.
liquidation_usdlong_liquidation_usdshort_liquidation_usdtime_rangestringenumWindow to aggregate into one snapshot. This endpoint accepts time_range rather than interval and does not return a time series.
1h4h12h24h
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
On-Chain IndicatorSURF_GET_MARKET_ONCHAIN_INDICATORAcciónReturn daily on-chain indicator history for BTC or ETH, including NUPL, SOPR, MVRV, Puell Multiple, NVM, NVT, NVT Golden Cross, and exchange-flow metrics. Responses are capped at about 100 points; when meta.has_more is true, split the requested date range into smaller windows.
SURF_GET_MARKET_ONCHAIN_INDICATORAcciónReturn daily on-chain indicator history for BTC or ETH, including NUPL, SOPR, MVRV, Puell Multiple, NVM, NVT, NVT Golden Cross, and exchange-flow metrics. Responses are capped at about 100 points; when meta.has_more is true, split the requested date range into smaller windows.
Parámetros de entrada
tostringEnd of the time range as Unix seconds or a YYYY-MM-DD date. Defaults to today; the maximum range is 365 days.
from_stringStart of the time range as Unix seconds or a YYYY-MM-DD date. Defaults to 90 days ago; the maximum range is 365 days.
metricstringObligatorioenumOn-chain metric to return. Exchange-flow metrics include the flow direction after `exchange-flows/`.
nuplsoprmvrvpuell-multiplenvmnvtnvt-golden-crossexchange-flows/inflowexchange-flows/outflowexchange-flows/netflowexchange-flows/reservesymbolstringObligatorioenumToken ticker symbol whose on-chain indicator history to return.
BTCETHexchangestringenumCurated exchange filter for exchange-flow metrics. Use the exchange-flow exchange-list action to discover labels.
all_exchangespot_exchangederivative_exchangecoinbase_primebinancecoinbase_advancedokxkrakenbybitbitstampgeminibitget+11
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Options Market DataSURF_GET_MARKET_OPTIONSAcciónReturn options market data for one supported token, including open interest, 24-hour volume, put/call ratio, and max pain price by exchange.
SURF_GET_MARKET_OPTIONSAcciónReturn options market data for one supported token, including open interest, 24-hour volume, put/call ratio, and max pain price by exchange.
Parámetros de entrada
orderstringenumSort direction for the exchange rows.
ascdescsymbolstringObligatorioenumUnderlying token symbol whose options market data should be returned.
BTCETHSOLXRPBNBDOGEADAAVAXsort_bystringenumOptions metric used to sort the exchange rows.
open_interestvolume_24h
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Token Price HistorySURF_GET_MARKET_PRICEAcciónReturn historical prices for one listed token in a selected quote currency. Use a predefined window or paired custom bounds; Surf automatically chooses 5-minute, hourly, or daily granularity based on the range.
SURF_GET_MARKET_PRICEAcciónReturn historical prices for one listed token in a selected quote currency. Use a predefined window or paired custom bounds; Surf automatically chooses 5-minute, hourly, or daily granularity based on the range.
Parámetros de entrada
tostringEnd of a custom range as Unix seconds or YYYY-MM-DD. Must be used with `from_`; together they override `time_range`.
from_stringStart of a custom range as Unix seconds or YYYY-MM-DD. Must be used with `to`; together they override `time_range`.
symbolstringObligatorioSingle token ticker symbol, such as BTC, ETH, or SOL. Multiple symbols are not supported.
currencystringQuote currency, such as `usd`, `eur`, or `btc`.
time_rangestringenumHistorical window. Surf chooses the point granularity automatically. Ignored when both `from_` and `to` are set.
1d7d14d30d90d180d365dmax
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Technical IndicatorSURF_GET_MARKET_PRICE_INDICATORAcciónReturn a technical indicator for a trading pair on a given exchange and candlestick interval. Omit from_ and to for the latest value, or provide a time range for a bounded series.
SURF_GET_MARKET_PRICE_INDICATORAcciónReturn a technical indicator for a trading pair on a given exchange and candlestick interval. Omit from_ and to for the latest value, or provide a time range for a bounded series.
Parámetros de entrada
tostringEnd of the time range as Unix seconds or a YYYY-MM-DD date. Defaults to the current time when from_ is set.
from_stringStart of the time range as Unix seconds or a YYYY-MM-DD date. Set this to return a time series instead of only the latest value.
symbolstringObligatorioTrading pair such as BTC/USDT, or a bare token symbol such as BTC.
optionsobjectTyped indicator-specific tuning. Use period for rsi, sma, ema, bbands, adx, atr, cci, dmi, stoch, or supertrend; stddev only for bbands; multiplier only for supertrend; and fast_period, slow_period, and signal_period only for macd. obv, vwap, and ichimoku have no options.
exchangestringenumExchange from which to obtain the underlying price data.
binancebybitcoinbasekrakenintervalstringenumCandlestick interval used to calculate each indicator data point.
1m5m15m30m1h2h4h12h1d1windicatorstringObligatorioenumTechnical indicator to calculate for the requested trading pair.
rsimacdemasmabbandsstochadxatrcciobvvwapdmi+2
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Public Sale / CrowdsaleSURF_GET_MARKET_PUBLIC_SALEAcciónReturn public sale information for a project resolved by Surf UUID, name, or token symbol, including sale type, status, dates, token price, funds raised, supply allocation, launchpad, and all-time-high ROI.
SURF_GET_MARKET_PUBLIC_SALEAcciónReturn public sale information for a project resolved by Surf UUID, name, or token symbol, including sale type, status, dates, token price, funds raised, supply allocation, launchpad, and all-time-high ROI.
Parámetros de entrada
project_idstringSurf project UUID. At least one of `project_id` or `project_name` must be non-empty; prefer this exact identifier when available.
project_namestringProject name or token symbol used for entity resolution. At least one of `project_id` or `project_name` must be non-empty.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Token Generation EventSURF_GET_MARKET_TGEAcciónReturn Token Generation Event status for a project resolved by Surf UUID, name, or token symbol, including the current status, last status-change time, and launch exchanges.
SURF_GET_MARKET_TGEAcciónReturn Token Generation Event status for a project resolved by Surf UUID, name, or token symbol, including the current status, last status-change time, and launch exchanges.
Parámetros de entrada
project_idstringSurf project UUID. Provide `project_id` or `project_name`; both may be supplied.
project_namestringProject name or token symbol. Provide `project_id` or `project_name`; both may be supplied.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
News Article DetailSURF_GET_NEWS_DETAILAcciónReturn the full content and metadata of one news article by an ID obtained from Surf news feed or search results.
SURF_GET_NEWS_DETAILAcciónReturn the full content and metadata of one news article by an ID obtained from Surf news feed or search results.
Parámetros de entrada
idstringObligatorioArticle ID returned by Surf news feed or search results.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
DEX Protocol ActivitySURF_GET_ONCHAIN_DEX_ACTIVITYAcciónReturn active traders, trade count, and USD volume for one DEX protocol or router contract as either a total aggregate or a newest-first daily series. USD volume can lag by about three days; use enriched_ratio to assess completeness.
SURF_GET_ONCHAIN_DEX_ACTIVITYAcciónReturn active traders, trade count, and USD volume for one DEX protocol or router contract as either a total aggregate or a newest-first daily series. USD volume can lag by about three days; use enriched_ratio to assess completeness.
Parámetros de entrada
tostringEnd of the range as Unix seconds or a YYYY-MM-DD date. Without from_, the selected time_range ends at this bound.
chainstringObligatorioenumChain whose DEX activity to query.
ethereumbasebscarbitrumtronfrom_stringStart of the range as Unix seconds or a YYYY-MM-DD date. With to, the range may span at most 90 days.
addressstringRouter or contract address measured as the transaction recipient. Provide exactly one of address or project.
projectstringDEX project name, such as `uniswap`, `pancakeswap`, or `aerodrome`. Provide exactly one of project or address.
group_bystringenumAggregation shape: total returns one aggregate and day returns a newest-first daily series.
totaldaytime_rangestringenumLook-back window, capped at 90 days. Explicit from_ or to bounds override this window.
1d7d30d90d
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Current Onchain Gas PriceSURF_GET_ONCHAIN_GAS_PRICEAcciónReturn the current gas price for one supported EVM chain in both wei and Gwei. Surf reads the latest value from the chain's eth_gasPrice JSON-RPC method.
SURF_GET_ONCHAIN_GAS_PRICEAcciónReturn the current gas price for one supported EVM chain in both wei and Gwei. Surf reads the latest value from the chain's eth_gasPrice JSON-RPC method.
Parámetros de entrada
chainstringObligatorioenumEVM chain whose current gas price to retrieve.
ethereumpolygonbscarbitrumoptimismbaseavalanchefantomlineacyber
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
On-Chain Table SchemaSURF_GET_ONCHAIN_SCHEMAAcciónDiscover logical on-chain tables and columns before writing SQL or structured queries. Filter by table to include its bounded physical source metadata. Transfer-table amount values are decimal-adjusted display units; amount_raw contains the original base-unit value.
SURF_GET_ONCHAIN_SCHEMAAcciónDiscover logical on-chain tables and columns before writing SQL or structured queries. Filter by table to include its bounded physical source metadata. Transfer-table amount values are decimal-adjusted display units; amount_raw contains the original base-unit value.
Parámetros de entrada
tablestringLogical table name in the agent database. Provide it to include bounded physical partition, ordering-key, and size metadata.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Asynchronous Blockchain SQL JobSURF_GET_ONCHAIN_SQL_JOBAcciónReturn durable job status, elapsed time, ClickHouse progress counters, retry semantics, and result links for an asynchronous blockchain SQL job. Polling this action never starts another ClickHouse execution.
SURF_GET_ONCHAIN_SQL_JOBAcciónReturn durable job status, elapsed time, ClickHouse progress counters, retry semantics, and result links for an asynchronous blockchain SQL job. Polling this action never starts another ClickHouse execution.
Parámetros de entrada
job_idstringObligatoriouuidAsynchronous SQL job identifier.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Download Asynchronous Blockchain SQL ResultsSURF_GET_ONCHAIN_SQL_JOB_RESULTSAcciónReturn a completed asynchronous blockchain SQL job's retained results as structured JSON or a downloadable CSV. Results remain available for 24 hours and are isolated to the authenticated tenant or user.
SURF_GET_ONCHAIN_SQL_JOB_RESULTSAcciónReturn a completed asynchronous blockchain SQL job's retained results as structured JSON or a downloadable CSV. Results remain available for 24 hours and are isolated to the authenticated tenant or user.
Parámetros de entrada
formatstringenumResult representation: a structured JSON envelope or downloadable CSV.
jsoncsvjob_idstringObligatoriouuidAsynchronous SQL job identifier.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Transaction Details by HashSURF_GET_ONCHAIN_TXAcciónLook up one EVM transaction by chain and hash. Numeric transaction fields are returned as hexadecimal strings; request the labels enrichment to attach known sender and recipient entities.
SURF_GET_ONCHAIN_TXAcciónLook up one EVM transaction by chain and hash. Numeric transaction fields are returned as hexadecimal strings; request the labels enrichment to attach known sender and recipient entities.
Parámetros de entrada
hashstringObligatorioTransaction hash as 0x-prefixed hexadecimal.
chainstringObligatorioenumEVM chain on which to look up the transaction.
ethereumpolygonbscarbitrumoptimismbaseavalanchefantomlineacyberincludestringSet to `labels` to include entity information for the sender and recipient addresses.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Polymarket Open Interest HistorySURF_GET_POLYMARKET_OPEN_INTERESTAcciónReturn daily open-interest history in USD for one Polymarket market over a selected time window. Data refreshes approximately every 30 minutes.
SURF_GET_POLYMARKET_OPEN_INTERESTAcciónReturn daily open-interest history in USD for one Polymarket market over a selected time window. Data refreshes approximately every 30 minutes.
Parámetros de entrada
time_rangestringenumHistory window. This endpoint returns daily points and does not accept an interval parameter.
7d30d90d180d1ycondition_idstringObligatorioPolymarket market condition identifier. Discover valid condition IDs with the Polymarket events or prediction-market search actions.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Polymarket OHLCV CandlesticksSURF_GET_POLYMARKET_PRICE_OHLCVAcciónReturn OHLCV candlesticks for a Polymarket market for price-chart and bar visualizations. Each candle includes open, high, low, close, volume, and trade count. Use Polymarket price history instead for one price per interval. Surf refreshes this data approximately every 30 minutes.
SURF_GET_POLYMARKET_PRICE_OHLCVAcciónReturn OHLCV candlesticks for a Polymarket market for price-chart and bar visualizations. Each candle includes open, high, low, close, volume, and trade count. Use Polymarket price history instead for one price per interval. Surf refreshes this data approximately every 30 minutes.
Parámetros de entrada
end_timeintegerWindow end as Unix seconds. Use 0 for the current time. Surf aligns cached requests to five-minute buckets.
intervalintegerCandle interval in minutes, such as 1, 60, or 1440.
start_timeintegerWindow start as Unix seconds. Use 0 for no lower bound. Surf aligns cached requests to five-minute buckets.
condition_idstringObligatorioPolymarket condition ID. Use prediction-market search to discover condition IDs.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Polymarket Price HistorySURF_GET_POLYMARKET_PRICESAcciónReturn hourly or daily outcome-price history for one Polymarket market, or its latest price snapshot. Use Polymarket OHLCV instead for candlestick data. Surf refreshes this data approximately every 30 minutes.
SURF_GET_POLYMARKET_PRICESAcciónReturn hourly or daily outcome-price history for one Polymarket market, or its latest price snapshot. Use Polymarket OHLCV instead for candlestick data. Surf refreshes this data approximately every 30 minutes.
Parámetros de entrada
intervalstringenumPoint granularity: `1h` for hourly points, `1d` for daily points, or `latest` for one most-recent snapshot.
1h1dlatesttime_rangestringenumHistory window measured backward from now. Ignored when `interval` is `latest`; distinct from the interval bucket size.
7d30d90d180d1ycondition_idstringObligatorioPolymarket condition identifier. Discover condition IDs with the Polymarket markets or prediction-market search actions.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Polymarket Volume HistorySURF_GET_POLYMARKET_VOLUMESAcciónReturn aggregate Polymarket trading volume in USD and trade count as a time series for volume-trend analysis. Use Polymarket volume split for a YES/NO outcome-side breakdown. Surf refreshes this data about every 30 minutes.
SURF_GET_POLYMARKET_VOLUMESAcciónReturn aggregate Polymarket trading volume in USD and trade count as a time series for volume-trend analysis. Use Polymarket volume split for a YES/NO outcome-side breakdown. Surf refreshes this data about every 30 minutes.
Parámetros de entrada
end_timeintegerHistory end as a Unix timestamp in seconds; an alternative to `time_range`.
intervalstringenumBucket size for each volume point: `1h` for hourly or `1d` for daily. Distinct from the history window.
1h1dtoken_idstringPolymarket outcome token identifier. Provide `token_id` or `condition_id`; both may be supplied. Surf resolves it to the market condition.
start_timeintegerHistory start as a Unix timestamp in seconds; an alternative to `time_range`.
time_rangestringenumHistory window measured backward from now: `7d`, `30d`, `90d`, `180d`, or `1y`. Distinct from the interval bucket size.
7d30d90d180d1ygranularitystringenumAggregation granularity to query daily buy/sell volume: `day`, `week`, `month`, `year`, or `all`. Use as an alternative to `interval`.
dayweekmonthyearallcondition_idstringPolymarket market condition identifier. Provide `condition_id` or `token_id`; both may be supplied.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Polymarket Volume Split (YES/NO)SURF_GET_POLYMARKET_VOLUME_SPLITAcciónReturn Polymarket trading volume split into YES and NO outcome sides for hourly, daily, or weekly intervals, including total volume and trade count. Use Polymarket volume history instead for aggregate volume without an outcome-side breakdown. Surf refreshes this data approximately every 30 minutes.
SURF_GET_POLYMARKET_VOLUME_SPLITAcciónReturn Polymarket trading volume split into YES and NO outcome sides for hourly, daily, or weekly intervals, including total volume and trade count. Use Polymarket volume history instead for aggregate volume without an outcome-side breakdown. Surf refreshes this data approximately every 30 minutes.
Parámetros de entrada
end_timeintegerWindow end as Unix seconds. Use 0 for the current time. Surf aligns cached requests to five-minute buckets.
start_timeintegerWindow start as Unix seconds. Use 0 for no lower bound. Surf aligns cached requests to five-minute buckets.
granularitystringenumTime bucket used to aggregate volume: hour, day, or week.
hourdayweekcondition_idstringObligatorioPolymarket condition ID. Use prediction-market search to discover condition IDs.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Aggregated Project DetailSURF_GET_PROJECT_DETAILAcciónReturn a crypto project's profile with selectable overview, token market, legacy tokenomics, funding, team, contract, social, and token-generation sections. Use the dedicated project DeFi metrics action for TVL, fees, revenue, volume, users, and per-chain metrics.
SURF_GET_PROJECT_DETAILAcciónReturn a crypto project's profile with selectable overview, token market, legacy tokenomics, funding, team, contract, social, and token-generation sections. Use the dedicated project DeFi metrics action for TVL, fees, revenue, volume, users, and per-chain metrics.
Parámetros de entrada
x_idstringNumeric X account ID used to resolve its associated project. Provide project_id, project_name, x_id, or handle.
fieldsstring[]Project detail sections to include.
handlestringX handle without the @ prefix used to resolve its associated project. Provide project_id, project_name, x_id, or handle.
project_idstringSurf project UUID. Provide project_id, project_name, x_id, or handle. Prefer this exact identifier when available; it takes priority over project_name.
project_namestringFuzzy project name used when an exact identifier is unavailable. Provide project_id, project_name, x_id, or handle. Ambiguous names may match an unexpected project.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Signal DetailSURF_GET_SIGNAL_DETAILAcciónReturn one project signal card by Surf token UUID or project slug, including its score, classified state, score dimensions, market data, and summaries.
SURF_GET_SIGNAL_DETAILAcciónReturn one project signal card by Surf token UUID or project slug, including its score, classified state, score dimensions, market data, and summaries.
Parámetros de entrada
token_idstringSurf token UUID. Pass exactly one of `token_id` or `project_slug`.
time_rangestringenumWindow over which Surf computes the signal score.
24h7dproject_slugstringProject slug. Pass exactly one of `token_id` or `project_slug`.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Token Transfer Activity SummarySURF_GET_TOKEN_TRANSFER_STATSAcciónReturn aggregate transfer activity for a token contract over a selected window, including transfer count, approximate unique senders and receivers, token amount, activity bounds, and USD-enrichment coverage. Set include=series for a newest-first daily breakdown.
SURF_GET_TOKEN_TRANSFER_STATSAcciónReturn aggregate transfer activity for a token contract over a selected window, including transfer count, approximate unique senders and receivers, token amount, activity bounds, and USD-enrichment coverage. Set include=series for a newest-first daily breakdown.
Parámetros de entrada
chainstringObligatorioenumChain where the token contract is deployed.
ethereumbasebscarbitrumtronaddressstringObligatorioToken contract address, not a ticker symbol. Use a 0x-prefixed address for EVM chains; Tron also accepts a base58 T-address.
includestringSet to `series` to include the newest-first daily transfer breakdown.
time_rangestringenumLook-back window for the transfer summary, capped at 90 days.
1d7d30d90d
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Token Unlock ScheduleSURF_GET_TOKEN_UNLOCK_SCHEDULEAcciónReturn token unlock time-series with cumulative amounts, allocation breakdowns, total supply denominator, and unlocked-supply percentage. Look up by Surf project UUID or token symbol and optionally bound the date range. `unlock_amount` is already cumulative and must not be summed across rows.
SURF_GET_TOKEN_UNLOCK_SCHEDULEAcciónReturn token unlock time-series with cumulative amounts, allocation breakdowns, total supply denominator, and unlocked-supply percentage. Look up by Surf project UUID or token symbol and optionally bound the date range. `unlock_amount` is already cumulative and must not be summed across rows.
Parámetros de entrada
tostringEnd of the time range as Unix seconds or a YYYY-MM-DD date. The current calendar month is used when the range is omitted.
from_stringStart of the time range as Unix seconds or a YYYY-MM-DD date. The current calendar month is used when the range is omitted.
symbolstringToken symbol such as `ARB`, `OP`, or `APT`. At least one of `project_id` or `symbol` is required.
project_idstringSurf project UUID. At least one of `project_id` or `symbol` is required. Prefer this when available from a previous response; it takes priority over `symbol`.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Aggregated Wallet DetailSURF_GET_WALLET_DETAILAcciónReturn a wallet's cross-chain portfolio with selectable balance, token, label, NFT, and approval sub-resources, plus its per-chain USD breakdown.
SURF_GET_WALLET_DETAILAcciónReturn a wallet's cross-chain portfolio with selectable balance, token, label, NFT, and approval sub-resources, plus its per-chain USD breakdown.
Parámetros de entrada
chainstringenumChain filter for tokens, NFTs, and approvals. When omitted, Surf queries all EVM chains for a 0x address or Solana for a base58 address.
ethereumpolygonbscavalanchearbitrumoptimismfantombasesolanafieldsstring[]Sub-resources to include. active_chains is always returned. approvals is opt-in and triggers additional upstream calls.
addressstringObligatorioWallet address as 0x-prefixed EVM hexadecimal or Solana base58.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Wallet Labels BatchSURF_GET_WALLET_LABELS_BATCHAcciónReturn entity names, entity types, and labels for up to 100 wallet addresses in one request.
SURF_GET_WALLET_LABELS_BATCHAcciónReturn entity names, entity types, and labels for up to 100 wallet addresses in one request.
Parámetros de entrada
addressesstring[]ObligatorioWallet addresses to look up, with no more than 100 per request.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Wallet Net Worth HistorySURF_GET_WALLET_NET_WORTHAcciónReturn about 24 hours of total wallet net worth in USD at five-minute intervals for one EVM address. The time window is fixed and cannot be customized.
SURF_GET_WALLET_NET_WORTHAcciónReturn about 24 hours of total wallet net worth in USD at five-minute intervals for one EVM address. The time window is fixed and cannot be customized.
Parámetros de entrada
addressstringObligatorioRaw 0x-prefixed EVM wallet address. ENS names and Solana addresses are not supported.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Web Page FetchSURF_GET_WEB_FETCHAcciónFetch one web page and convert its content to clean markdown, optionally limiting extraction, removing elements, or waiting for dynamic content with CSS selectors.
SURF_GET_WEB_FETCHAcciónFetch one web page and convert its content to clean markdown, optionally limiting extraction, removing elements, or waiting for dynamic content with CSS selectors.
Parámetros de entrada
urlstringObligatorioURL of the web page to fetch and convert to markdown.
timeoutintegerMaximum time in milliseconds to wait for the page fetch.
remove_selectorstringCSS selector for page elements to remove before conversion.
target_selectorstringCSS selector that limits extraction to matching page content.
wait_for_selectorstringCSS selector to wait for before extracting the page content.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
X Tweets by IDsSURF_GET_X_TWEETS_BY_IDSAcciónReturn normalized X posts by numeric ID. Authentication is required. Each request costs at least 7 credits per unique requested ID; the actual cost reflects plan and tenant pricing. Repeated IDs are billed and looked up once. Unavailable IDs are billed and omitted from data; returned posts preserve first-input order.
SURF_GET_X_TWEETS_BY_IDSAcciónReturn normalized X posts by numeric ID. Authentication is required. Each request costs at least 7 credits per unique requested ID; the actual cost reflects plan and tenant pricing. Repeated IDs are billed and looked up once. Unavailable IDs are billed and omitted from data; returned posts preserve first-input order.
Parámetros de entrada
idsstring[]ObligatorioNumeric tweet IDs, from 1 to 100 values. Each ID must contain 1 to 19 digits without leading zeros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Airdrop ActivitiesSURF_LIST_AIRDROP_ACTIVITIESAcciónReturn one page of airdrop activities with project, reward, status, fundraising, and social metrics.
SURF_LIST_AIRDROP_ACTIVITIESAcciónReturn one page of airdrop activities with project, reward, status, fundraising, and social metrics.
Parámetros de entrada
limitintegerAirdrop activities to return in this page (1-100).
offsetintegerNumber of airdrop activities to skip on the first page.
next_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
ETF HoldingsSURF_LIST_EQUITY_ETF_HOLDINGSAcciónReturn one page from a stored ETF or index-fund portfolio snapshot plus its immediately previous snapshot, ordered newest to oldest. Available quarterly periods describe the stored holdings history. Set offset explicitly for another page; total_holdings is unfiltered and does not establish whether filtered results continue.
SURF_LIST_EQUITY_ETF_HOLDINGSAcciónReturn one page from a stored ETF or index-fund portfolio snapshot plus its immediately previous snapshot, ordered newest to oldest. Available quarterly periods describe the stored holdings history. Set offset explicitly for another page; total_holdings is unfiltered and does not establish whether filtered results continue.
Parámetros de entrada
as_ofstringSelect the composition effective on or before this YYYY-MM-DD date; the response also includes its immediately previous snapshot.
limitintegerMaximum holdings to return.
offsetintegerNumber of filtered holdings to skip. Set this explicitly to request another page; total_holdings is unfiltered and cannot prove continuation when asset_class is set.
symbolstringObligatorioUS-listed ETF or index-fund ticker symbol.
asset_classstringenumFilter holdings by instrument type.
equitybond
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Equity SEC FilingsSURF_LIST_EQUITY_FILINGSAcciónReturn one page of verified periodic SEC filings for a US equity, including canonical filing metadata, document URLs, statement coverage, and provenance.
SURF_LIST_EQUITY_FILINGSAcciónReturn one page of verified periodic SEC filings for a US equity, including canonical filing metadata, document URLs, statement coverage, and provenance.
Parámetros de entrada
limitintegerResults to return in this page (1-100).
offsetintegerNumber of matching filings to skip on the first page.
symbolstringObligatorioUS equity ticker symbol.
next_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Equity ListingsSURF_LIST_EQUITY_LISTINGSAcciónReturn one page of current verified active stock listings for the issuer resolved from the requested ticker. Ticker alone is not treated as a durable listing identity.
SURF_LIST_EQUITY_LISTINGSAcciónReturn one page of current verified active stock listings for the issuer resolved from the requested ticker. Ticker alone is not treated as a durable listing identity.
Parámetros de entrada
limitintegerResults to return in this page (1-100).
offsetintegerNumber of matching listings to skip on the first page.
symbolstringObligatorioTicker used to resolve the issuer whose current verified stock listings are returned.
next_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Equity Segment FinancialsSURF_LIST_EQUITY_SEGMENTSAcciónReturn one page of provider-reported product and operating or geographic segment facts for a US-listed equity. Provider labels and missing-value status are preserved; values are not added across incompatible dimensions.
SURF_LIST_EQUITY_SEGMENTSAcciónReturn one page of provider-reported product and operating or geographic segment facts for a US-listed equity. Provider labels and missing-value status are preserved; values are not added across incompatible dimensions.
Parámetros de entrada
labelstringOptional provider-reported segment label to match.
limitintegerMaximum number of segment facts to return in this page (1-100).
offsetintegerNumber of matching segment facts to skip on the first page.
periodstringenumFinancial period represented by the segment facts.
quarterlyannualsymbolstringObligatorioUS equity ticker symbol.
end_datestringInclusive latest period end in YYYY-MM-DD format.
start_datestringInclusive earliest period start in YYYY-MM-DD format.
metric_codestringOptional normalized financial metric code to match.
next_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
dimension_typestringOptional provider dimension key, such as product or segment.
statement_typestringenumOptional financial statement family to return.
incomebalance_sheetcash_flow
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Exchange Historical CandlesSURF_LIST_EXCHANGE_CANDLESAcciónReturn one page of persisted OHLCV candles for a covered Bithumb, Upbit, HashKey, bitFlyer, Coinone, or Korbit spot market. Results are ordered newest first.
SURF_LIST_EXCHANGE_CANDLESAcciónReturn one page of persisted OHLCV candles for a covered Bithumb, Upbit, HashKey, bitFlyer, Coinone, or Korbit spot market. Results are ordered newest first.
Parámetros de entrada
tostringEnd of the time range as Unix seconds or a date string.
pairstringObligatorioTrading pair in base/quote form.
from_stringStart of the time range as Unix seconds or a date string.
limitintegerCandles to return in this page (1-300). Weekly candles allow up to 300 rows; intraday intervals are capped at 100 by Surf.
offsetintegerNumber of matching candles to skip on the first page.
exchangestringObligatorioenumExchange identifier.
bithumbupbithashkeybitflyercoinonekorbitintervalstringenumCandle interval.
5m4h1wnext_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
include_syntheticbooleanWhether to include carry-forward candles for no-trade intervals. Set false to return raw exchange-only candles.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Exchange Market CoverageSURF_LIST_EXCHANGE_COVERAGEAcciónReturn one page of covered spot markets on Bithumb, Upbit, HashKey, bitFlyer, Coinone, and Korbit with ticker metrics, candle availability, technical score, and data status. Inspect data_status and data_actionability before using sparse or stale market data.
SURF_LIST_EXCHANGE_COVERAGEAcciónReturn one page of covered spot markets on Bithumb, Upbit, HashKey, bitFlyer, Coinone, and Korbit with ticker metrics, candle availability, technical score, and data status. Inspect data_status and data_actionability before using sparse or stale market data.
Parámetros de entrada
limitintegerResults to return in this page (1-100).
orderstringenumSort order.
ascdescquerystringFree-text search over pair, base currency, or quote currency.
quotestringQuote currency filter.
offsetintegerNumber of matching markets to skip on the first page.
statusstringenumMarket status filter.
activeinactivesort_bystringenumField used to sort matching markets.
pairpricechange_24hvolume_24htechnical_scorelatest_candle_atstatusexchangestringenumExchange identifier. Omit to return all supported exchanges.
bithumbupbithashkeybitflyercoinonekorbitdata_statusstringenumMarket data coverage status filter.
coveredofficial_empty_allofficial_empty_tickerofficial_empty_5mofficial_empty_weeklystale_gt_7dstale_30m_to_7drecent_but_lt_min_ta_candlesmissing_4hmissing_latest_tanext_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Fund PortfolioSURF_LIST_FUND_PORTFOLIOAcciónReturn one page of a fund's investment rounds, sorted by the selected field. A project may appear more than once when the fund participated in multiple rounds. Prefer an exact fund id over a fuzzy name query.
SURF_LIST_FUND_PORTFOLIOAcciónReturn one page of a fund's investment rounds, sorted by the selected field. A project may appear more than once when the fund participated in multiple rounds. Prefer an exact fund id over a fuzzy name query.
Parámetros de entrada
limitintegerResults to return in this page (1-100).
orderstringenumSort order.
ascdescoffsetintegerNumber of matching investments to skip on the first page.
fund_idstringSurf fund UUID. For the first page, provide fund_id or fund_name; prefer this exact identifier because it takes priority over fund_name. Omit on continuation calls that provide next_cursor.
is_leadbooleanFilter by lead investor status. Omit to include all investments.
sort_bystringenumField used to sort matching investments.
invested_atrecent_raisetotal_raisefund_namestringFuzzy fund name search. For the first page, provide fund_id or fund_name; use this only when fund_id is unavailable. Omit on continuation calls that provide next_cursor. Ambiguous names may return unexpected results.
next_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page without repeating fund_id or fund_name.
invested_afterintegerOnly include investments at or after this Unix timestamp in seconds.
invested_beforeintegerOnly include investments before this Unix timestamp in seconds.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Fund RankingSURF_LIST_FUND_RANKINGAcciónReturn one page of crypto VC funds ranked by fund tier or number of invested projects, including up to five top portfolio projects per fund.
SURF_LIST_FUND_RANKINGAcciónReturn one page of crypto VC funds ranked by fund tier or number of invested projects, including up to five top portfolio projects per fund.
Parámetros de entrada
limitintegerResults to return in this page (1-100).
metricstringObligatorioenumRanking metric: `tier` ranks lower tiers first; `portfolio_count` ranks by number of invested projects.
tierportfolio_countoffsetintegerNumber of ranked funds to skip on the first page.
next_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
FillsSURF_LIST_HYPERLIQUID_FILLSAcciónReturn one page of a wallet's individual Hyperliquid fills with realized PnL, fees, liquidity direction, and an opaque cursor. Use ascending order with from_ and follow next_cursor for complete history; descending order is a recent capped feed.
SURF_LIST_HYPERLIQUID_FILLSAcciónReturn one page of a wallet's individual Hyperliquid fills with realized PnL, fees, liquidity direction, and an opaque cursor. Use ascending order with from_ and follow next_cursor for complete history; descending order is a recent capped feed.
Parámetros de entrada
tostringInclusive window end as Unix seconds or a date; defaults to now.
from_stringWindow start as Unix seconds or a date. Required for an ascending complete-history walk.
limitintegerFills to return in this page (1-100).
orderstringenumSort direction. Descending returns the recent capped feed; ascending with from_ supports a complete-history cursor walk.
ascdescto_msintegerExclusive window end in Unix milliseconds for descending pagination. Pair it with to_fill_id to avoid skipping fills at the same millisecond.
cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged; do not combine it with from_, to, to_ms, or to_fill_id.
symbolstringExact market filter, such as xyz:GOLD. Filtering may produce an empty page that still has a continuation cursor.
addressstringObligatorioWallet address as a 0x EVM address or ENS name. Solana addresses are not supported.
to_fill_idstringFill identifier paired with to_ms for lossless descending pagination through fills sharing one millisecond.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Trader LeaderboardSURF_LIST_HYPERLIQUID_LEADERBOARDAcciónReturn one page of Hyperliquid traders ranked by PnL, win rate, or volume, with trade activity, account age, human-likeness, and market filters. Leaderboard PnL includes funding and must not be treated as equivalent to the funding-excluded PnL from Hyperliquid performance or trade actions.
SURF_LIST_HYPERLIQUID_LEADERBOARDAcciónReturn one page of Hyperliquid traders ranked by PnL, win rate, or volume, with trade activity, account age, human-likeness, and market filters. Leaderboard PnL includes funding and must not be treated as equivalent to the funding-excluded PnL from Hyperliquid performance or trade actions.
Parámetros de entrada
dexstringenumMarket to rank within. Omit or use `main_dex` for Hyperliquid's native market; otherwise select a builder market.
main_dexxyzflxvntlhynakmabcdcashparamktslimitintegerTraders to return in this page (1-100).
offsetintegerNumber of ranked traders to skip on the first page.
sort_bystringenumMetric used to rank traders in descending order.
total_pnlwin_ratevolume_tradedmin_tradesintegerMinimum trades in the selected window. Use 0 for no trade-count filter.
time_rangestringenumPerformance window. `all` includes data from 2025-08-01 onward.
1d7d30d90dallnext_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
min_days_activeintegerMinimum distinct active days in the selected window. Use 0 to disable.
min_human_scoreintegerMinimum human-likeness score from 0 to 100. Use 0 to disable.
min_account_age_daysintegerMinimum account age in days. Use 0 to disable this filter.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Closed TradesSURF_LIST_HYPERLIQUID_TRADESAcciónReturn one page of a wallet's closed Hyperliquid position lifecycles, newest close first, with entry and exit prices, size, hold time, fees, and realized PnL. net_pnl excludes funding; inspect funding_pnl and funding_status separately. Follow next_cursor for older trades. Use Closed Trades Aggregate for symbol, direction, or market-scoped rollups.
SURF_LIST_HYPERLIQUID_TRADESAcciónReturn one page of a wallet's closed Hyperliquid position lifecycles, newest close first, with entry and exit prices, size, hold time, fees, and realized PnL. net_pnl excludes funding; inspect funding_pnl and funding_status separately. Follow next_cursor for older trades. Use Closed Trades Aggregate for symbol, direction, or market-scoped rollups.
Parámetros de entrada
tostringInclusive first-page window end as Unix seconds, an ISO 8601 date-time, or a UTC date. A date includes that whole day; defaults to now.
from_stringFirst-page window start as Unix seconds, an ISO 8601 date-time, or a UTC date. Omit for full history.
limitintegerClosed trades to return in this page (1-100).
cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged with the same address and do not combine it with from_ or to.
addressstringObligatorioWallet address as a 0x EVM address or ENS name. Solana addresses are not supported.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Kalshi EventsSURF_LIST_KALSHI_EVENTSAcciónReturn one page of Kalshi events with their nested markets, optionally filtered by event ticker. Omit event_ticker to browse top active events by volume. Surf refreshes this data approximately every 30 minutes.
SURF_LIST_KALSHI_EVENTSAcciónReturn one page of Kalshi events with their nested markets, optionally filtered by event ticker. Omit event_ticker to browse top active events by volume. Surf refreshes this data approximately every 30 minutes.
Parámetros de entrada
limitintegerEvents to return in this page (1-100).
offsetintegerNumber of matching events to skip on the first page.
next_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
event_tickerstringKalshi event ticker. Omit to return the top active events by volume; use prediction-market search to discover a ticker.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Kalshi MarketsSURF_LIST_KALSHI_MARKETSAcciónReturn one page of Kalshi markets with status, payout type, volume, and open interest. Filter by an exact market ticker, or omit it to browse top active markets by volume. Data refreshes approximately every 30 minutes.
SURF_LIST_KALSHI_MARKETSAcciónReturn one page of Kalshi markets with status, payout type, volume, and open interest. Filter by an exact market ticker, or omit it to browse top active markets by volume. Data refreshes approximately every 30 minutes.
Parámetros de entrada
limitintegerMarkets to return in this page (1-100).
offsetintegerNumber of matching markets to skip on the first page.
next_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
market_tickerstringKalshi market ticker. Omit to return top active markets by volume; use prediction-market search to discover tickers.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Kalshi Orderbook HistorySURF_LIST_KALSHI_ORDERBOOKSAcciónReturn one page of historical YES-side bid and ask snapshots for a Kalshi market. Timestamps are Unix milliseconds and prices are cents. Follow next_cursor with pagination_key to retrieve additional snapshots.
SURF_LIST_KALSHI_ORDERBOOKSAcciónReturn one page of historical YES-side bid and ask snapshots for a Kalshi market. Timestamps are Unix milliseconds and prices are cents. Follow next_cursor with pagination_key to retrieve additional snapshots.
Parámetros de entrada
limitintegerMaximum number of orderbook snapshots to return in this page (1-200).
tickerstringObligatorioKalshi market ticker whose historical orderbook snapshots to return.
end_timeintegerEnd time in Unix milliseconds. Omit or pass 0 to use the current time.
start_timeintegerStart time in Unix milliseconds. Omit or pass 0 to use seven days ago.
pagination_keystringBase64 continuation key returned as next_cursor by a previous call. Pass it back unchanged to fetch the next page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Kalshi TradesSURF_LIST_KALSHI_TRADESAcciónReturn one page of real-time individual trades for a Kalshi market, with taker side, outcome prices, notional volume, and timestamp. Filter by side, minimum notional, or time range, and follow next_cursor for more trades.
SURF_LIST_KALSHI_TRADESAcciónReturn one page of real-time individual trades for a Kalshi market, with taker side, outcome prices, notional volume, and timestamp. Filter by side, minimum notional, or time range, and follow next_cursor for more trades.
Parámetros de entrada
tostringEnd of the time range as Unix seconds or a YYYY-MM-DD date.
from_stringStart of the time range as Unix seconds or a YYYY-MM-DD date.
limitintegerTrades to return in this page (1-500).
orderstringenumSort matching trades in ascending or descending order.
ascdescoffsetintegerNumber of matching trades to skip on the first page.
tickerstringObligatorioKalshi market ticker. Use the Kalshi markets or prediction-market search actions to discover valid tickers.
sort_bystringenumField used to sort matching trades.
timestampnotional_volume_usdmin_amountintegerMinimum trade notional in USD; each contract has $1 notional value.
taker_sidestringenumReturn only trades whose taker bought the yes or no side.
yesnonext_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Exchange Flow ExchangesSURF_LIST_MARKET_EXCHANGE_FLOW_EXCHANGESAcciónReturn one page of Surf's curated aggregate and high-coverage individual exchange filters for BTC or ETH exchange-flow metrics. Use a returned symbol as the exchange parameter for exchange-flow metrics in the market on-chain indicator action.
SURF_LIST_MARKET_EXCHANGE_FLOW_EXCHANGESAcciónReturn one page of Surf's curated aggregate and high-coverage individual exchange filters for BTC or ETH exchange-flow metrics. Use a returned symbol as the exchange parameter for exchange-flow metrics in the market on-chain indicator action.
Parámetros de entrada
limitintegerResults to return in this page (1-100).
offsetintegerNumber of exchange filters to skip on the first page.
symbolstringObligatorioenumToken ticker symbol whose curated exchange-flow filters to return.
BTCETHnext_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Large Liquidation OrdersSURF_LIST_MARKET_LIQUIDATION_ORDERAcciónReturn one offset page of individual large liquidation orders above a USD threshold. The provider exposes a bounded recent window; after its offset pages are exhausted, page backward by setting to to the oldest returned timestamp plus one and de-duplicating on order_id.
SURF_LIST_MARKET_LIQUIDATION_ORDERAcciónReturn one offset page of individual large liquidation orders above a USD threshold. The provider exposes a bounded recent window; after its offset pages are exhausted, page backward by setting to to the oldest returned timestamp plus one and de-duplicating on order_id.
Parámetros de entrada
tostringExclusive range end as Unix seconds or a date string. To continue beyond the bounded recent window, set this to the oldest returned timestamp plus one and de-duplicate on order_id.
sidestringenumLiquidation side to return. Omit to return both long and short orders.
longshortfrom_stringInclusive range start as Unix seconds or a date string.
limitintegerLiquidation orders to return in this page (1-100).
orderstringenumSort direction.
ascdescoffsetintegerNumber of matching orders to skip on the first page.
symbolstringBase token ticker to match, such as BTC or ETH.
sort_bystringenumLiquidation-order field used to sort the results.
usd_valuetimestamppriceexchangestringenumExchange on which the liquidation occurred.
BinanceOKXBybitBitgetHyperliquidGateHTXBitmexBitfinexCoinExAsterLightermin_amountstringMinimum liquidated position size in USD.
next_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next offset page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Exchange Listing EventsSURF_LIST_MARKET_LISTINGSAcciónReturn one page of historical exchange listing and delisting events, filtered by date range and optionally by token, exchange, product, or event type.
SURF_LIST_MARKET_LISTINGSAcciónReturn one page of historical exchange listing and delisting events, filtered by date range and optionally by token, exchange, product, or event type.
Parámetros de entrada
tostringEnd of the event date range. Defaults to the current time.
typestringenumListing-event type to return.
listingdelistingcancelledadvancedpostponedfrom_stringObligatorioStart of the event date range as YYYY-MM-DD or an ISO 8601 timestamp.
limitintegerListing events to return in this page (1-100).
offsetintegerNumber of matching listing events to skip on the first page.
symbolstringToken ticker symbol used to filter listing events.
productstringenumExchange product type to return, or all product types.
spotmarginperppre_market_perpallexchangestringExchange name used to filter listing events.
next_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Token RankingsSURF_LIST_MARKET_RANKINGAcciónReturn one page of tokens ranked by market capitalization, 24-hour price change, or 24-hour trading volume, optionally filtered by token category.
SURF_LIST_MARKET_RANKINGAcciónReturn one page of tokens ranked by market capitalization, 24-hour price change, or 24-hour trading volume, optionally filtered by token category.
Parámetros de entrada
limitintegerRanked tokens to return in this page (1-100).
orderstringenumSort direction: descending (highest first) or ascending (lowest first).
ascdescoffsetintegerNumber of ranked tokens to skip on the first page.
sort_bystringenumField used to rank tokens: market capitalization, 24-hour price change percentage, or 24-hour trading volume.
market_capchange_24hvolume_24hcategorystringenumToken category used to filter the ranking. Omit to include all categories.
MEMEAIAI_AGENTSL1L2DEFIGAMINGSTABLECOINRWADEPINSOL_ECOBASE_ECO+1next_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Cross-Platform Daily Comparison (Polymarket <> Kalshi)SURF_LIST_MATCHING_MARKET_DAILYAcciónReturn one page of daily volume and open-interest comparisons for a specific matched Polymarket and Kalshi market pair. Use matching-market pairs to discover the required identifiers first. Polymarket values are in USD; Kalshi values are in contracts.
SURF_LIST_MATCHING_MARKET_DAILYAcciónReturn one page of daily volume and open-interest comparisons for a specific matched Polymarket and Kalshi market pair. Use matching-market pairs to discover the required identifiers first. Polymarket values are in USD; Kalshi values are in contracts.
Parámetros de entrada
limitintegerDaily comparison rows to return in this page (1-10000).
offsetintegerNumber of daily comparison rows to skip on the first page.
time_rangestringenumWindow of daily data to return. Buckets are fixed at one day; this endpoint does not accept an interval parameter.
1d7d30d90d180d1yallnext_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
kalshi_market_tickerstringObligatorioKalshi market ticker for the matched pair.
polymarket_condition_idstringObligatorioPolymarket condition ID for the matched pair.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Cross-Platform Prediction Market MatcherSURF_LIST_MATCHING_MARKET_PAIRSAcciónReturn one page of matching Polymarket and Kalshi markets with match confidence, activity, volume, current probabilities, and price spread. Filter by category, match type, confidence, or a specific market ID; sort by spread_pct to find the widest current spreads. Data refreshes approximately every five minutes.
SURF_LIST_MATCHING_MARKET_PAIRSAcciónReturn one page of matching Polymarket and Kalshi markets with match confidence, activity, volume, current probabilities, and price spread. Filter by category, match type, confidence, or a specific market ID; sort by spread_pct to find the widest current spreads. Data refreshes approximately every five minutes.
Parámetros de entrada
limitintegerMatching pairs to return in this page (1-100).
orderstringenumAscending or descending sort order.
ascdescoffsetintegerNumber of matching pairs to skip on the first page.
sort_bystringenumField used to sort matching pairs.
confidencepolymarket_volumekalshi_volumespread_pctcategorystringenumPrediction-market category to match across platforms.
cryptocultureeconomicsfinancialspoliticsstemsportsmatch_typestringenumReturn exact or related cross-platform market matches.
exactrelatedactive_onlybooleanWhether to return only pairs where both markets are currently active.
next_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
min_confidenceintegerMinimum match confidence score from 0 through 100.
kalshi_market_tickerstringKalshi market ticker whose Polymarket counterpart should be found.
polymarket_condition_idstringPolymarket condition ID whose Kalshi counterpart should be found.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Crypto News FeedSURF_LIST_NEWS_FEEDAcciónReturn one page of crypto news from major sources, optionally filtered by publisher, project, or publication time. Use an article ID with the news detail action to fetch full content.
SURF_LIST_NEWS_FEEDAcciónReturn one page of crypto news from major sources, optionally filtered by publisher, project, or publication time. Use an article ID with the news detail action to fetch full content.
Parámetros de entrada
tostringReturn articles published on or before this time, expressed as Unix seconds or a date string.
from_stringReturn articles published on or after this time, expressed as Unix seconds or a date string.
limitintegerArticles to return in this page (1-50).
offsetintegerNumber of matching articles to skip on the first page.
sourcestringenumNews source used to filter articles.
coindeskcointelegraphtheblockdecryptdlnewsblockbeatsbitcoincomcoinpediaambcryptocryptodailycryptopotatophemex+5sort_bystringenumArticle order: recency returns newest first; trending is currently a deterministic newest-first alias.
recencytrendingprojectsstring[]Project names used to filter articles.
next_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Bridge Protocol RankingSURF_LIST_ONCHAIN_BRIDGE_RANKINGAcciónReturn one page of bridge protocols ranked by USD transfer volume over a selected time range, including transfer counts.
SURF_LIST_ONCHAIN_BRIDGE_RANKINGAcciónReturn one page of bridge protocols ranked by USD transfer volume over a selected time range, including transfer counts.
Parámetros de entrada
limitintegerBridge protocols to return in this page (1-100).
offsetintegerNumber of ranked bridge protocols to skip on the first page.
time_rangestringenumWindow over which to aggregate bridge volume. Returns one ranked snapshot, not a time series.
7d30d90d180d1yallnext_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Yield Pool RankingSURF_LIST_ONCHAIN_YIELD_RANKINGAcciónReturn one page of individual DeFi yield pools ranked by APY or TVL, optionally filtered by protocol.
SURF_LIST_ONCHAIN_YIELD_RANKINGAcciónReturn one page of individual DeFi yield pools ranked by APY or TVL, optionally filtered by protocol.
Parámetros de entrada
limitintegerYield pools to return in this page (1-100).
orderstringenumSort direction: descending (highest first) or ascending (lowest first).
ascdescoffsetintegerNumber of ranked yield pools to skip on the first page.
projectstringProtocol name to filter by, such as lido, aave, or uniswap.
sort_bystringenumRanking metric. APY ranking includes only pools with at least $100,000 in TVL.
apytvl_usdnext_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Polymarket EventsSURF_LIST_POLYMARKET_EVENTSAcciónReturn one page of Polymarket events with aggregated status and volume plus their nested markets and outcomes, filtered by event slug. Surf refreshes this data approximately every 30 minutes.
SURF_LIST_POLYMARKET_EVENTSAcciónReturn one page of Polymarket events with aggregated status and volume plus their nested markets and outcomes, filtered by event slug. Surf refreshes this data approximately every 30 minutes.
Parámetros de entrada
limitintegerEvents to return in this page (1-100).
offsetintegerNumber of matching events to skip on the first page.
event_slugstringObligatorioPolymarket event slug for a multi-outcome question. Use prediction-market search to discover event slugs; use Polymarket markets for a single Yes/No market slug.
next_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Polymarket LeaderboardSURF_LIST_POLYMARKET_LEADERBOARDAcciónReturn one page of Polymarket traders ranked by realized PnL, trading volume, or trade count, including aggregate position outcomes. Data refreshes approximately every five minutes.
SURF_LIST_POLYMARKET_LEADERBOARDAcciónReturn one page of Polymarket traders ranked by realized PnL, trading volume, or trade count, including aggregate position outcomes. Data refreshes approximately every five minutes.
Parámetros de entrada
limitintegerTraders to return in this page (1-100).
orderstringenumSort direction: descending (highest first) or ascending (lowest first).
ascdescoffsetintegerNumber of ranked traders to skip on the first page.
sort_bystringenumMetric used to rank traders: realized PnL, volume, or trade count.
pnlvolumetrade_countnext_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Polymarket MarketsSURF_LIST_POLYMARKET_MARKETSAcciónReturn one page of Polymarket markets with outcomes, status, volume, and condition identifiers, filtered by market slug. Use condition_id with the Polymarket prices action for current prices. Surf refreshes this data approximately every 30 minutes.
SURF_LIST_POLYMARKET_MARKETSAcciónReturn one page of Polymarket markets with outcomes, status, volume, and condition identifiers, filtered by market slug. Use condition_id with the Polymarket prices action for current prices. Surf refreshes this data approximately every 30 minutes.
Parámetros de entrada
limitintegerMarkets to return in this page (1-100).
offsetintegerNumber of matching markets to skip on the first page.
market_slugstringObligatorioPolymarket market slug for a single Yes/No market. Use prediction-market search to discover market slugs; use Polymarket events for a multi-outcome question.
next_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Polymarket Orderbook HistorySURF_LIST_POLYMARKET_ORDERBOOKSAcciónReturn one page of historical bid and ask depth snapshots for a Polymarket token. Timestamps are Unix milliseconds and prices range from 0 to 1. Follow next_cursor with pagination_key to retrieve additional snapshots. Surf refreshes this data approximately every five minutes.
SURF_LIST_POLYMARKET_ORDERBOOKSAcciónReturn one page of historical bid and ask depth snapshots for a Polymarket token. Timestamps are Unix milliseconds and prices range from 0 to 1. Follow next_cursor with pagination_key to retrieve additional snapshots. Surf refreshes this data approximately every five minutes.
Parámetros de entrada
limitintegerMaximum number of orderbook snapshots to return in this page (1-200).
end_timeintegerEnd time in Unix milliseconds. Omit or pass 0 to use the current time.
token_idstringObligatorioPolymarket token identifier whose historical orderbook snapshots to return.
start_timeintegerStart time in Unix milliseconds. Omit or pass 0 to use seven days ago.
pagination_keystringBase64 continuation key returned as next_cursor by a previous call. Pass it back unchanged to fetch the next page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Polymarket Wallet PositionsSURF_LIST_POLYMARKET_POSITIONSAcciónReturn one page of open Polymarket positions for a specific proxy wallet, including market identifiers, share size, valuation, and profit and loss. Surf refreshes this data approximately every 30 minutes.
SURF_LIST_POLYMARKET_POSITIONSAcciónReturn one page of open Polymarket positions for a specific proxy wallet, including market identifiers, share size, valuation, and profit and loss. Surf refreshes this data approximately every 30 minutes.
Parámetros de entrada
limitintegerPositions to return in this page (1-100).
offsetintegerNumber of matching positions to skip on the first page.
addressstringObligatorioPolymarket proxy wallet address whose open positions to return.
next_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Polymarket Smart MoneySURF_LIST_POLYMARKET_SMART_MONEYAcciónReturn one page of Polymarket smart-wallet analytics. The positioning view aggregates bullish or bearish direction and conviction by market; the trades view returns individual trades of at least $10,000 with wallet metadata. Surf refreshes this data approximately every five minutes.
SURF_LIST_POLYMARKET_SMART_MONEYAcciónReturn one page of Polymarket smart-wallet analytics. The positioning view aggregates bullish or bearish direction and conviction by market; the trades view returns individual trades of at least $10,000 with wallet metadata. Surf refreshes this data approximately every five minutes.
Parámetros de entrada
tostringEnd time as Unix seconds or a date string. Applies only to the trades view.
viewstringenumResult view: positioning aggregates smart-wallet direction by market; trades returns individual trades of at least $10,000 with wallet metadata.
positioningtradesfrom_stringStart time as Unix seconds or a date string. Applies only to the trades view.
limitintegerSmart-money records to return in this page (1-100).
orderstringenumSort direction.
ascdescoffsetintegerNumber of matching records to skip on the first page.
sort_bystringenumField used to sort the selected view.
smart_wallets_involvedsmart_buy_volume_usdsmart_sell_volume_usdamount_usdblock_timecategorystringenumSurf-curated market category to filter by.
cryptocultureeconomicsfinancialspoliticsstemsportsdirectionstringenumNet smart-money direction filter. Applies only to the positioning view.
bullishbearishneutralwhale_tierstringenumTrade-size tier filter. Applies only to the trades view.
whalelargemeganext_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
condition_idstringPolymarket condition identifier to filter by. Omit to browse all markets.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Polymarket TradesSURF_LIST_POLYMARKET_TRADESAcciónReturn one page of Polymarket trades or wallet activity, filtered by market, wallet, outcome, minimum amount, or time range. Use type=redemption for splits, merges, and redemptions, or type=all for every activity type. Surf refreshes this data approximately every five minutes.
SURF_LIST_POLYMARKET_TRADESAcciónReturn one page of Polymarket trades or wallet activity, filtered by market, wallet, outcome, minimum amount, or time range. Use type=redemption for splits, merges, and redemptions, or type=all for every activity type. Surf refreshes this data approximately every five minutes.
Parámetros de entrada
tostringEnd of the time range as Unix seconds or a YYYY-MM-DD date.
typestringenumActivity type: trade returns spot trades; redemption returns splits, merges, and redemptions; all returns every activity type. Address is required for redemption and all.
traderedemptionallfrom_stringStart of the time range as Unix seconds or a YYYY-MM-DD date.
limitintegerActivity records to return in this page (1-500).
offsetintegerNumber of matching activity records to skip on the first page.
addressstringWallet address used to return activity where it is the maker or taker. Provide condition_id or address on the first page; address is required when type is redemption or all.
sort_bystringenumField used to sort matching activity.
timestampnotional_volume_usdmin_amountnumberMinimum trade amount in USD.
next_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
condition_idstringPolymarket condition identifier used to filter activity by market. Provide condition_id or address on the first page.
outcome_labelstringenumReturn only activity for the Yes or No outcome.
YesNo
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Prediction Market AnalyticsSURF_LIST_PREDICTION_MARKET_ANALYTICSAcciónReturn one page of prediction-market analytics with daily trends, top markets by open interest, momentum distribution, and per-market momentum signals. Omit category for platform-wide totals, and use platform for an exchange-specific view. Set offset explicitly to request another momentum-markets page because the response has no continuation metadata. Use prediction-market search instead to browse individual markets.
SURF_LIST_PREDICTION_MARKET_ANALYTICSAcciónReturn one page of prediction-market analytics with daily trends, top markets by open interest, momentum distribution, and per-market momentum signals. Omit category for platform-wide totals, and use platform for an exchange-specific view. Set offset explicitly to request another momentum-markets page because the response has no continuation metadata. Use prediction-market search instead to browse individual markets.
Parámetros de entrada
limitintegerMomentum markets to return in this page (1-100).
orderstringenumSort direction for the momentum-markets page.
ascdesctop_nintegerNumber of markets to include in the top-markets ranking (1-50).
offsetintegerNumber of momentum markets to skip. Set this explicitly to request another page; the response does not provide a continuation offset.
sort_bystringenumMetric used to sort the momentum-markets page.
volume_7dwhale_flow_net_7dprice_change_7doi_change_7dcategorystringenumPrediction-market category to analyze. Omit for totals across all categories.
cryptocultureeconomicsfinancialspoliticsstemsportsplatformstringenumPrediction-market platform to analyze. Omit to combine both platforms.
polymarketkalshitime_rangestringenumWindow for daily category trends. The bucket size is always one day; this endpoint does not accept an interval parameter.
7d30d90d180d1y
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Market CorrelationsSURF_LIST_PREDICTION_MARKET_CORRELATIONSAcciónReturn one page of 30-day Pearson price-correlation pairs between Polymarket markets in one category. Results cover the top 100 markets by 7-day volume globally; lower-volume markets may have no correlation data. Filter by condition_id to find markets correlated with one market.
SURF_LIST_PREDICTION_MARKET_CORRELATIONSAcciónReturn one page of 30-day Pearson price-correlation pairs between Polymarket markets in one category. Results cover the top 100 markets by 7-day volume globally; lower-volume markets may have no correlation data. Filter by condition_id to find markets correlated with one market.
Parámetros de entrada
limitintegerCorrelation pairs to return in this page (1-100).
offsetintegerNumber of correlation pairs to skip on the first page.
categorystringObligatorioenumPrediction-market category; correlations are within-category only.
cryptocultureeconomicsfinancialspoliticsstemsportsnext_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
condition_idstringReturn only pairs involving this Polymarket condition ID.
min_correlationnumberMinimum absolute 30-day Pearson correlation coefficient.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Project AI NewsSURF_LIST_PROJECT_AI_NEWSAcciónReturn one page of AI-generated news and signal analysis for a project identified by Surf UUID or fuzzy name. Results include price-analysis and funding signals; social and X-derived items are excluded by Surf.
SURF_LIST_PROJECT_AI_NEWSAcciónReturn one page of AI-generated news and signal analysis for a project identified by Surf UUID or fuzzy name. Results include price-analysis and funding signals; social and X-derived items are excluded by Surf.
Parámetros de entrada
langstringenumLanguage for AI-generated content.
enzhjakrlimitintegerNews items to return in this page (1-50).
offsetintegerNumber of matching news items to skip on the first page.
project_idstringSurf project UUID. Prefer this identifier when available; it takes priority over project_name.
next_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
project_namestringFuzzy project name to use only when project_id is unavailable; ambiguous names may match an unexpected project.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Project DeFi MetricsSURF_LIST_PROJECT_DEFI_METRICSAcciónReturn one page of historical metric points for a single DeFi protocol. Look up the protocol by exact Surf project UUID when available or by fuzzy name, then filter by metric, chain, and time range.
SURF_LIST_PROJECT_DEFI_METRICSAcciónReturn one page of historical metric points for a single DeFi protocol. Look up the protocol by exact Surf project UUID when available or by fuzzy name, then filter by metric, chain, and time range.
Parámetros de entrada
tostringEnd of the time range as Unix seconds or a YYYY-MM-DD date.
chainstringenumBlockchain on which to filter the protocol metric.
ethereumpolygonbscavalanchearbitrumoptimismfantombasesolanafrom_stringStart of the time range as Unix seconds or a YYYY-MM-DD date.
limitintegerResults to return in this page (1-100).
metricstringenumProtocol metric to return; `fee` is an alias for `fees`.
volumefeefeesrevenuetvlusersoffsetintegerNumber of metric points to skip on the first page.
project_idstringSurf project UUID. Prefer this exact identifier when available; it takes priority over project_name.
next_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
project_namestringFuzzy DeFi protocol name used only when project_id is unavailable. Ambiguous names may match an unexpected project.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
DeFi Protocol RankingSURF_LIST_PROJECT_DEFI_RANKINGAcciónReturn one page of DeFi protocols ranked by TVL, fees, revenue, volume, or users. For individual pool or vault yields, use the on-chain yield ranking action instead.
SURF_LIST_PROJECT_DEFI_RANKINGAcciónReturn one page of DeFi protocols ranked by TVL, fees, revenue, volume, or users. For individual pool or vault yields, use the on-chain yield ranking action instead.
Parámetros de entrada
limitintegerRanked protocols to return in this page (1-100).
metricstringObligatorioenumMetric used to rank DeFi protocols.
tvlrevenuefeesvolumeusersoffsetintegerNumber of ranked protocols to skip on the first page.
next_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Signal ProjectsSURF_LIST_SIGNAL_PROJECTSAcciónReturn one page of ranked project signal cards for a 24-hour or 7-day window. Each card can include project identity, score, latest price, price changes, classified state, dimension scores, compact token signals, AI summaries, and supporting market metrics.
SURF_LIST_SIGNAL_PROJECTSAcciónReturn one page of ranked project signal cards for a 24-hour or 7-day window. Each card can include project identity, score, latest price, price changes, classified state, dimension scores, compact token signals, AI summaries, and supporting market metrics.
Parámetros de entrada
limitintegerResults to return in this page (1-100).
offsetintegerNumber of ranked projects to skip on the first page.
time_rangestringenumWindow used to compute signal scores. Returns a ranked snapshot, not a time series.
24h7dnext_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Top Token SignalsSURF_LIST_SIGNAL_TOP_TOKENSAcciónReturn one page of daily or weekly top-token project signal cards with latest price, price changes, dimension scores, compact signals, and AI summaries.
SURF_LIST_SIGNAL_TOP_TOKENSAcciónReturn one page of daily or weekly top-token project signal cards with latest price, price changes, dimension scores, compact signals, and AI summaries.
Parámetros de entrada
limitintegerResults to return in this page (1-100).
offsetintegerNumber of token signal cards to skip on the first page.
periodstringObligatorioenumRanking period for the token signal cards.
dayweeknext_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Token DEX Trade HistorySURF_LIST_TOKEN_DEX_TRADESAcciónReturn one page of recent DEX swaps for a token contract on Ethereum, Base, BSC, Arbitrum, or Tron. Each trade includes the pair, bought and sold amounts, USD value, taker, transaction hash, and DEX. Set include=labels for taker entity data, and follow next_cursor for more trades.
SURF_LIST_TOKEN_DEX_TRADESAcciónReturn one page of recent DEX swaps for a token contract on Ethereum, Base, BSC, Arbitrum, or Tron. Each trade includes the pair, bought and sold amounts, USD value, taker, transaction hash, and DEX. Set include=labels for taker entity data, and follow next_cursor for more trades.
Parámetros de entrada
chainstringenumBlockchain containing the token contract.
ethereumbasebscarbitrumtronlimitintegerTrades to return in this page (1-100).
offsetintegerNumber of matching trades to skip on the first page.
addressstringObligatorioToken contract address, not a ticker symbol. Use a 0x-prefixed address for EVM chains or a base58 T-address for Tron.
includestringSet to `labels` to include entity information for each taker address.
next_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Token HoldersSURF_LIST_TOKEN_HOLDERSAcciónReturn one page of top token holders for a contract address.
SURF_LIST_TOKEN_HOLDERSAcciónReturn one page of top token holders for a contract address.
Parámetros de entrada
chainstringObligatorioenumBlockchain containing the token contract.
ethereumbasebscarbitrumoptimismpolygonavalanchesolanalimitintegerToken holders to return in this page (1-100).
offsetintegerNumber of ranked token holders to skip on the first page.
addressstringObligatorioToken contract address: 0x-prefixed hexadecimal for EVM chains or base58 for Solana. Do not pass a ticker symbol.
includestringSet to `labels` to include the full label record for each holder.
next_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Top Transfer CounterpartiesSURF_LIST_TOKEN_TRANSFER_COUNTERPARTIESAcciónReturn one page of a token's top receivers or senders over a selected window, ranked by transfer count, token amount, or USD value. Optionally attach entity labels or exclude common infrastructure categories.
SURF_LIST_TOKEN_TRANSFER_COUNTERPARTIESAcciónReturn one page of a token's top receivers or senders over a selected window, ranked by transfer count, token amount, or USD value. Optionally attach entity labels or exclude common infrastructure categories.
Parámetros de entrada
chainstringObligatorioenumChain where the token contract is deployed.
ethereumbasebscarbitrumtronlimitintegerCounterparties to return in this page (1-100).
metricstringenumRanking key: count for transfer frequency, amount for token quantity, or amount_usd for USD value. USD values lag approximately three days.
countamountamount_usdoffsetintegerNumber of ranked counterparties to skip on the first page.
addressstringObligatorioToken contract address. Use a 0x-prefixed address for EVM chains; Tron also accepts a base58 T-address. Do not pass a ticker symbol.
includestringSet to `labels` to attach entity labels.
directionstringObligatorioenumRanking direction: to ranks receivers; from ranks senders.
tofromtime_rangestringenumLook-back window, up to 90 days.
1d7d30d90dnext_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
exclude_labelsstring[]Entity categories to exclude on a best-effort basis. Filtering may produce fewer than limit rows.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Token Transfer HistorySURF_LIST_TOKEN_TRANSFERSAcciónReturn one page of recent transfers for a token contract on Ethereum, Base, Solana, Tron, BSC, or Arbitrum. Filter by date range, optionally attach sender and recipient labels, and follow next_cursor for more transfers.
SURF_LIST_TOKEN_TRANSFERSAcciónReturn one page of recent transfers for a token contract on Ethereum, Base, Solana, Tron, BSC, or Arbitrum. Filter by date range, optionally attach sender and recipient labels, and follow next_cursor for more transfers.
Parámetros de entrada
tostringEnd of the date range as Unix seconds or YYYY-MM-DD; defaults to today.
chainstringObligatorioenumBlockchain containing the token contract.
ethereumbasesolanatronbscarbitrumfrom_stringStart of the date range as Unix seconds or YYYY-MM-DD; defaults to 7 days ago.
limitintegerTransfers to return in this page (1-100).
offsetintegerNumber of matching transfers to skip on the first page.
addressstringObligatorioToken contract address, not a ticker symbol. Use a 0x-prefixed address for EVM chains or a base58 address for Solana or Tron.
includestringSet to `labels` to include from_label and to_label entity information.
next_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Wallet Transaction HistorySURF_LIST_WALLET_HISTORYAcciónReturn one page of a wallet's on-chain transactions, classified by type and valued in the chain's native token. Use wallet transfer history instead for token identity and USD-valued ERC-20 or SPL transfers. Use before for deep pagination and deduplicate by tx_hash when paging across a shared timestamp.
SURF_LIST_WALLET_HISTORYAcciónReturn one page of a wallet's on-chain transactions, classified by type and valued in the chain's native token. Use wallet transfer history instead for token identity and USD-valued ERC-20 or SPL transfers. Use before for deep pagination and deduplicate by tx_hash when paging across a shared timestamp.
Parámetros de entrada
chainstringenumBlockchain whose wallet history to return.
ethereumpolygonbscavalanchearbitrumoptimismfantombaselimitintegerTransactions to return in this page (1-100).
orderstringResult sort order; Surf currently supports only `desc`.
beforeintegerReturn transactions strictly older than this Unix-seconds timestamp. Omit this when using offset. To continue, use the last item's timestamp; if transactions may share that second, use timestamp + 1 and deduplicate results by tx_hash.
offsetintegerTransactions to skip on the first page. Omit this when using before. Only the most recent approximately 1,000 transactions are reachable by offset; use before for deeper history.
addressstringObligatorioRaw 0x-prefixed wallet address. ENS names are not supported.
includestringSet to `labels` to add from_label and to_label entity records.
sort_bystringResult sort field; Surf currently supports only `timestamp`.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Wallet DeFi Protocol PositionsSURF_LIST_WALLET_PROTOCOLSAcciónReturn one page of a wallet's DeFi protocol positions across lending, staking, liquidity pools, and farming, including token breakdowns and USD values.
SURF_LIST_WALLET_PROTOCOLSAcciónReturn one page of a wallet's DeFi protocol positions across lending, staking, liquidity pools, and farming, including token breakdowns and USD values.
Parámetros de entrada
limitintegerDeFi protocols to return in this page (1-100).
offsetintegerNumber of matching protocols to skip on the first page.
addressstringObligatorioRaw 0x-prefixed EVM wallet address. ENS names are not supported.
next_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Wallet Transfer HistorySURF_LIST_WALLET_TRANSFERSAcciónReturn one page of ERC-20 or SPL token transfers involving a wallet, with token identity, USD value, and incoming or outgoing flow. Use wallet transaction history instead for all transaction types and native values.
SURF_LIST_WALLET_TRANSFERSAcciónReturn one page of ERC-20 or SPL token transfers involving a wallet, with token identity, USD value, and incoming or outgoing flow. Use wallet transaction history instead for all transaction types and native values.
Parámetros de entrada
flowstringenumTransfer direction relative to the wallet: in for incoming or out for outgoing. Omit to return both directions.
inoutchainstringenumBlockchain containing the wallet and transfers.
ethereumbasesolanatronbscarbitrumlimitintegerTransfers to request per page (1-100). Solana returns at most 40 per call; use next_cursor to continue when has_more is true.
tokenstringToken contract or mint address to filter by. Use the zero address for native token transfers, or omit to return all tokens.
offsetintegerTransfers to skip on the first page. For continuation, pass next_cursor instead of calculating an offset.
addressstringObligatorioRaw wallet address: 0x-prefixed hex for EVM chains or base58 for Solana. ENS names are not supported.
includestringSet to `labels` to include from_label and to_label entity information.
next_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Preflight Blockchain SQL QuerySURF_PREFLIGHT_ONCHAIN_SQLAcciónValidate and estimate a read-only ClickHouse SELECT or WITH query without executing it. Returns the server-bounded SQL, physical scan estimate, budgets, and guardrail warnings. This preflight consumes Surf credits.
SURF_PREFLIGHT_ONCHAIN_SQLAcciónValidate and estimate a read-only ClickHouse SELECT or WITH query without executing it. Returns the server-bounded SQL, physical scan estimate, budgets, and guardrail warnings. This preflight consumes Surf credits.
Parámetros de entrada
sqlstringObligatorioRead-only ClickHouse SELECT or WITH query to validate and estimate without executing it.
max_rowsintegerMaximum result rows in the final server-bounded execution plan.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Blockchain Structured QuerySURF_QUERY_ONCHAIN_DATAAcciónQuery an on-chain table with structured fields, filters, sorting, and row limits instead of raw SQL. Discover tables and columns first with Surf's on-chain schema action. Use qualified `agent.<table>` sources, include a block_date filter for large tables, and avoid unindexed symbol filters.
SURF_QUERY_ONCHAIN_DATAAcciónQuery an on-chain table with structured fields, filters, sorting, and row limits instead of raw SQL. Discover tables and columns first with Surf's on-chain schema action. Use qualified `agent.<table>` sources, include a block_date filter for large tables, and avoid unindexed symbol filters.
Parámetros de entrada
sortobject[]ORDER BY clauses applied in sequence.
limitintegerMaximum rows to return (1-10000).
fieldsstring[]Columns to return. Omit to return all columns.
offsetintegerNumber of matching rows to skip.
sourcestringObligatorioFully qualified table name such as `agent.ethereum_yields_daily`. Use Surf's on-chain schema action to discover available tables.
filtersobject[]WHERE conditions, which Surf combines with AND.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Blockchain SQL QuerySURF_QUERY_ONCHAIN_SQLAcciónSynchronously run one read-only ClickHouse SELECT or WITH query against Surf's blockchain tables with a 30-second timeout. Use SURF_CREATE_ONCHAIN_SQL_JOB instead for durable asynchronous work. Never automatically retry a synchronous timeout.
SURF_QUERY_ONCHAIN_SQLAcciónSynchronously run one read-only ClickHouse SELECT or WITH query against Surf's blockchain tables with a 30-second timeout. Use SURF_CREATE_ONCHAIN_SQL_JOB instead for durable asynchronous work. Never automatically retry a synchronous timeout.
Parámetros de entrada
sqlstringObligatorioRead-only ClickHouse SELECT or WITH query. Qualify every table with the `agent` database and filter on block_date or block_number. Discover valid tables and columns with the on-chain schema action first.
max_rowsintegerMaximum result rows returned (1-10,000).
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Airdrop SearchSURF_SEARCH_AIRDROPAcciónReturn one page of airdrop opportunities filtered by project keyword, lifecycle phase, reward type, task type, or open-task availability. Full task details can be included when needed.
SURF_SEARCH_AIRDROPAcciónReturn one page of airdrop opportunities filtered by project keyword, lifecycle phase, reward type, task type, or open-task availability. Full task details can be included when needed.
Parámetros de entrada
limitintegerAirdrop opportunities to return in this page (1-100).
orderstringenumSort direction for matching opportunities.
ascdescphasestring[]Lifecycle groups: active for open participation, claimable for eligibility or claiming, and completed for distributed rewards.
offsetintegerNumber of matching opportunities to skip on the first page.
sort_bystringenumField used to sort matching opportunities.
total_raisexscorelast_status_updatehas_openbooleanWhether to return only opportunities with currently open tasks.
task_typestringenumReturn opportunities containing a task of this type.
socialbounty-platformstestnetmainnetroleformliquiditymint-nftgametradingstakingdepin+7next_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
reward_typestringenumReward type used to filter airdrop opportunities.
airdroppointswhitelistnftroleambassadorinclude_tasksbooleanWhether each opportunity should include its full task list.
project_querystringProject or coin name keyword to search for.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Project Event SearchSURF_SEARCH_EVENTSAcciónReturn one page of project events for a Surf project identified by exact UUID or fuzzy name, optionally filtered by event type.
SURF_SEARCH_EVENTSAcciónReturn one page of project events for a Surf project identified by exact UUID or fuzzy name, optionally filtered by event type.
Parámetros de entrada
typestringenumEvent type used to filter results.
launchupgradepartnershipnewsairdroplistingtwitterlimitintegerEvents to return in this page (1-100).
offsetintegerNumber of matching events to skip on the first page.
project_idstringSurf project UUID. Provide project_id or project_name on the first page; prefer this exact identifier because it takes priority over project_name. Omit on continuation calls that provide next_cursor.
next_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page without repeating project_id or project_name.
project_namestringFuzzy project name. Provide project_id or project_name on the first page; use this only when project_id is unavailable. Omit on continuation calls that provide next_cursor. Ambiguous names may match an unexpected project.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Fund SearchSURF_SEARCH_FUNDAcciónReturn one page of crypto investment funds matching a name keyword, including fund identity, tier, type, logo, and top invested projects.
SURF_SEARCH_FUNDAcciónReturn one page of crypto investment funds matching a name keyword, including fund identity, tier, type, logo, and top invested projects.
Parámetros de entrada
limitintegerFunds to return in this page (1-100).
offsetintegerNumber of matching funds to skip on the first page.
fund_namestringObligatorioFund name keyword, such as a16z, Paradigm, or Coinbase Ventures.
next_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Fundraising Event SearchSURF_SEARCH_FUNDRAISINGAcciónReturn one page of source-backed fundraising and token-sale events, or the latest fundraising timeline when no query is provided.
SURF_SEARCH_FUNDRAISINGAcciónReturn one page of source-backed fundraising and token-sale events, or the latest fundraising timeline when no query is provided.
Parámetros de entrada
tostringInclusive event-time upper bound as Unix seconds, YYYY-MM-DD, or RFC3339. A date-only value ends at 23:59:59 UTC; defaults to now.
langstringenumDisplay and search language. Missing translations fall back to English; ko is accepted as an alias for kr.
enzhjakrkofrom_stringInclusive event-time lower bound as Unix seconds, YYYY-MM-DD, or RFC3339. A date-only value starts at 00:00:00 UTC.
limitintegerFundraising events to return in this page (1-100).
orderstringenumSort direction. Relevance sorting supports descending order only.
ascdescquerystringProject name, alias, symbol, title, or summary query. Omit it to return the latest fundraising timeline. Required when sort_by is relevance.
offsetintegerNumber of matching events to skip; offset plus limit cannot exceed 10000.
sourcestringenumPublic source type used to filter fundraising events.
socialnewssort_bystringenumSort results by recency, query relevance, or importance. Selecting relevance requires query.
recencyrelevanceimportancenext_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
min_importanceintegerMinimum importance score from 1 to 5; omit to include unscored events.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
News Article SearchSURF_SEARCH_NEWSAcciónReturn one page of crypto news articles matching a keyword or phrase, ranked by relevance with matching fragments highlighted when available.
SURF_SEARCH_NEWSAcciónReturn one page of crypto news articles matching a keyword or phrase, ranked by relevance with matching fragments highlighted when available.
Parámetros de entrada
limitintegerNews articles to return in this page (1-100).
querystringObligatorioKeyword or phrase to search for in crypto news articles.
offsetintegerNumber of matching articles to skip on the first page.
next_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Search Prediction MarketsSURF_SEARCH_PREDICTION_MARKETAcciónReturn one page of Polymarket and Kalshi markets with identifiers, status, volume, open interest, trade counts, current probability, and smart-money signals. Filter by platform, category, status, keyword, or exact platform identifier. Data refreshes approximately every five minutes.
SURF_SEARCH_PREDICTION_MARKETAcciónReturn one page of Polymarket and Kalshi markets with identifiers, status, volume, open interest, trade counts, current probability, and smart-money signals. Filter by platform, category, status, keyword, or exact platform identifier. Data refreshes approximately every five minutes.
Parámetros de entrada
limitintegerMarkets to return in this page (1-100).
orderstringenumAscending or descending sort order.
ascdescquerystringKeyword to match against question text or ticker. Machine slugs are not searched.
offsetintegerNumber of matching markets to skip on the first page.
statusstringenumMarket status to include.
activeclosedfinalizedsort_bystringenumMarket metric used to sort results.
volume_1dvolume_7dvolume_30dopen_interesttrade_count_7ddays_to_resolutioncategorystringenumSurf-curated market category to include.
cryptocultureeconomicsfinancialspoliticsstemsportsplatformstringenumPrediction-market platform to include. Omit to search both platforms.
polymarketkalshinext_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
smart_moneystringenumSmart-money direction to include. This filter applies only to Polymarket.
bullishbearishcondition_idstringPolymarket condition ID for an exact single-market lookup.
market_tickerstringKalshi market ticker for an exact single-market lookup.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Project SearchSURF_SEARCH_PROJECTAcciónReturn one page of crypto projects matching a project name or token ticker. Results include Surf project UUIDs for exact follow-up lookups.
SURF_SEARCH_PROJECTAcciónReturn one page of crypto projects matching a project name or token ticker. Results include Surf project UUIDs for exact follow-up lookups.
Parámetros de entrada
limitintegerProjects to return in this page (1-100).
querystringObligatorioProject name or token ticker to search for.
offsetintegerNumber of matching projects to skip on the first page.
next_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Token Symbol ResolutionSURF_SEARCH_TOKENAcciónResolve an exact token ticker symbol to one page of likely contract-address candidates on supported chains. Use the returned chain and address before calling token endpoints that require a contract address.
SURF_SEARCH_TOKENAcciónResolve an exact token ticker symbol to one page of likely contract-address candidates on supported chains. Use the returned chain and address before calling token endpoints that require a contract address.
Parámetros de entrada
chainstringenumSupported chain to search. Omit to search every supported chain.
ethereumbasebscarbitrumsolanapolygonoptimismavalanchefantomtronlineamantle+4limitintegerToken candidates to return in this page (1-100).
offsetintegerNumber of matching token candidates to skip on the first page.
symbolstringObligatorioExact token ticker symbol to resolve, case-insensitively. Use a symbol such as USDC or PEPE, not a contract address, trading pair, or fuzzy name.
next_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Wallet SearchSURF_SEARCH_WALLETAcciónReturn one page of wallet entities matching an ENS name, address label, or wallet-address prefix, including associated labels and known addresses.
SURF_SEARCH_WALLETAcciónReturn one page of wallet entities matching an ENS name, address label, or wallet-address prefix, including associated labels and known addresses.
Parámetros de entrada
limitintegerWallet entities to return in this page (1-100).
offsetintegerNumber of matching wallet entities to skip on the first page.
next_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
wallet_querystringObligatorioENS name, address label, or wallet-address prefix to search for.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Web SearchSURF_SEARCH_WEBAcciónReturn one page of web pages matching a keyword or phrase, optionally restricted to specific domains and including full page content.
SURF_SEARCH_WEBAcciónReturn one page of web pages matching a keyword or phrase, optionally restricted to specific domains and including full page content.
Parámetros de entrada
limitintegerWeb results to return in this page (1-100).
querystringObligatorioKeywords or phrase to search for on the web.
sitesstring[]Domains to search, such as coindesk.com or cointelegraph.com.
offsetintegerNumber of matching web results to skip on the first page.
next_cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to fetch the next page.
include_contentbooleanWhether to include full page content in each result. Leave false for faster title, URL, and description discovery; set true only when the page content is needed inline.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not