$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "enableTopCoins": true,
< "vsCurrency": "usd",
< "topCoinsLimit": 10,
< "topCoinsOrder": "market_cap_desc",
< "topCoinsFetchFullDetails": false,
< "enableCoinSearch": false,
< "searchQueries": [
< "bitcoin",
< "ethereum",
< "solana"
< ],
< "coinSearchMaxResults": 10,
< "coinSearchFetchFullDetails": false,
< "enableCoinDetails": false,
< "coinIds": [],
< "coinUrls": [],
< "enableTrending": false,
< "enableExchanges": false,
< "exchangesLimit": 10,
< "enableScrapeByUrl": false,
< "scrapeUrls": [
< "https://www.coingecko.com/en/coins/bitcoin"
< ],
< "webhookFormat": "json",
< "proxyConfiguration": {
< "useApifyProxy": true,
< "apifyProxyGroups": [
< "RESIDENTIAL"
< ]
< }
<}
<EOF
$curl "https://api.apify.com/v2/actors/b2b_leads~coingecko-real-time-data-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'