Skip to main content

Endpoint

GET  /analytics/summary
POST /analytics/summary

Description

Returns comprehensive analytics summary aggregating data from DexScreener, token statistics, Jupiter trending, smart money tracking, and Binance correlation. Provides a complete market overview in one API call.

Pricing

$0.02 USD per request (paid in USDC via x402)

Parameters

No parameters required.

Request Examples

GET Request

curl -X GET "https://api.syraa.fun/analytics/summary"

POST Request

curl -X POST https://api.syraa.fun/analytics/summary \
  -H "Content-Type: application/json"

Response

api
string
API version (v2)
name
string
Summary name (“Analytics API Summary”)
updatedAt
string
ISO timestamp of summary generation
sections
object
Organized sections of analytics data

Success Response

{
  "api": "v2",
  "name": "Analytics API Summary",
  "updatedAt": "2026-03-03T10:00:00.000Z",
  "sections": {
    "price": {
      "title": "Price & market data",
      "dexscreener": {
        "ok": true,
        "data": {
          "dexscreener/token-profiles": [...],
          "dexscreener/community-takeovers": [...],
          "dexscreener/ads": [...],
          "dexscreener/token-boosts": [...],
          "dexscreener/token-boosts-top": [...]
        }
      },
      "trendingJupiter": {
        "ok": true,
        "data": {
          "trending": [...]
        }
      }
    },
    "volume": {
      "title": "Volume & liquidity",
      "dexscreener": { "ok": true, "data": {...} },
      "tokenStatistic": {
        "ok": true,
        "data": {
          "statistics": [...]
        }
      }
    },
    "correlation": {
      "title": "Correlation",
      "binance": {
        "ok": true,
        "data": {
          "pairs": [
            {
              "symbol": "BTCUSDT",
              "correlation": 0.87,
              "price": 67500
            }
          ]
        }
      }
    },
    "tokenRisk": {
      "title": "Token risk & safety",
      "tokenStatistic": {
        "ok": true,
        "data": {...}
      }
    },
    "onChain": {
      "title": "On-chain & flow",
      "smartMoney": {
        "ok": true,
        "data": {
          "smart-money/netflow": {...},
          "smart-money/holdings": {...},
          "smart-money/historical-holdings": {...},
          "smart-money/dex-trades": {...},
          "smart-money/dcas": {...}
        }
      }
    }
  }
}

Error Responses

Individual data sources may fail gracefully:
{
  "api": "v2",
  "sections": {
    "price": {
      "dexscreener": {
        "ok": false,
        "error": "Failed to fetch DexScreener data"
      }
    }
  }
}

Data Sources

DexScreener

const dexscreener = await fetchDexscreener();
Provides:
  • Token profiles
  • Community takeovers
  • Active advertisements
  • Boosted tokens

Token Statistics (Rugcheck)

const tokenStatistic = await fetchTokenStatistic();
Provides:
  • Token safety scores
  • Risk metrics
  • Statistical analysis
const trendingJupiter = await fetchTrendingJupiter();
Provides:
  • Trending tokens on Jupiter
  • Volume and price data

Smart Money (Nansen)

const smartMoney = await fetchSmartMoney();
Provides:
  • Net flow analysis
  • Current holdings
  • Historical positions
  • DEX trades
  • DCA strategies

Binance Correlation

const binanceCorrelation = await fetchBinanceCorrelation();
Provides:
  • Price correlations
  • Market pair data

Graceful Degradation

Each data source is wrapped for error handling:
const [dexscreenerResult, tokenStatisticResult, ...] = await Promise.allSettled([
  fetchDexscreener(),
  fetchTokenStatistic(),
  ...
]);

const dexscreener = dexscreenerResult.status === "fulfilled"
  ? { ok: true, data: dexscreenerResult.value }
  : { ok: false, error: dexscreenerResult.reason.message };
If one source fails, others still return successfully.

Code Example

// Fetch complete analytics
const response = await fetch('https://api.syraa.fun/analytics/summary');
const summary = await response.json();

console.log(`Analytics Summary - ${summary.name}`);
console.log(`Updated: ${new Date(summary.updatedAt).toLocaleString()}`);

// Access price data
const { sections } = summary;

if (sections.price.dexscreener.ok) {
  const dex = sections.price.dexscreener.data;
  console.log(`\nDexScreener:`);
  console.log(`  ${dex['dexscreener/token-profiles'].length} new profiles`);
  console.log(`  ${dex['dexscreener/token-boosts'].length} boosted tokens`);
}

if (sections.price.trendingJupiter.ok) {
  const jup = sections.price.trendingJupiter.data;
  console.log(`\nJupiter Trending:`);
  console.log(`  ${jup.trending.length} trending tokens`);
}

// Check smart money activity
if (sections.onChain.smartMoney.ok) {
  const smart = sections.onChain.smartMoney.data;
  const netflow = smart['smart-money/netflow'];
  
  console.log(`\nSmart Money Net Flow:`);
  netflow.tokens.slice(0, 5).forEach(token => {
    console.log(`  ${token.symbol}: ${token.signal} ($${token.netFlow24h})`);
  });
}

// Analyze correlations
if (sections.correlation.binance.ok) {
  const corr = sections.correlation.binance.data;
  console.log(`\nPrice Correlations:`);
  corr.pairs.forEach(pair => {
    console.log(`  ${pair.symbol}: ${pair.correlation.toFixed(2)}`);
  });
}

Analysis Workflow

async function analyzeMarket() {
  const summary = await fetch('https://api.syraa.fun/analytics/summary')
    .then(r => r.json());
  
  const analysis = {
    trending: [],
    smartMoneyBuys: [],
    highRisk: [],
    opportunities: []
  };
  
  // Extract trending tokens
  if (summary.sections.price.trendingJupiter.ok) {
    analysis.trending = summary.sections.price.trendingJupiter.data.trending;
  }
  
  // Find smart money accumulation
  if (summary.sections.onChain.smartMoney.ok) {
    const netflow = summary.sections.onChain.smartMoney.data['smart-money/netflow'];
    analysis.smartMoneyBuys = netflow.tokens.filter(
      t => t.signal === 'accumulation' && t.netFlow24h > 100000
    );
  }
  
  // Identify opportunities (trending + smart money)
  const trendingSymbols = new Set(analysis.trending.map(t => t.symbol));
  analysis.opportunities = analysis.smartMoneyBuys.filter(
    t => trendingSymbols.has(t.symbol)
  );
  
  return analysis;
}

const market = await analyzeMarket();
console.log(`Found ${market.opportunities.length} high-confidence opportunities`);

Best Practices

  1. Check ok Status: Always verify data source succeeded
  2. Handle Failures: Gracefully handle when sources fail
  3. Combine Data: Cross-reference multiple sections
  4. Cache Results: Summary is comprehensive, cache if needed
  5. Monitor Updates: Check updatedAt for data freshness

Use Cases

Market Overview Dashboard

Display comprehensive market state:
  • Trending tokens
  • Smart money flows
  • New launches
  • Risk metrics

Trading Signal Generation

Combine signals from multiple sources:
  • Jupiter trending + smart money = strong buy
  • DexScreener boost + low risk = opportunity
  • High correlation + accumulation = follow leader

Risk Assessment

Evaluate market-wide risk:
  • Token risk statistics
  • Smart money distribution
  • Correlation analysis

Research Automation

Automate research workflows:
  • Fetch complete data in one call
  • Process all sections
  • Generate reports

Build docs developers (and LLMs) love