{
  "openapi": "3.0.1",
  "info": {
    "title": "Crypto Wallet Transfers & Swaps Scraper",
    "description": "Extract enriched wallet Transfers & DEX Swaps across EVM, BTC, SOL, TON & more — entity resolution (CEX, whales), token details & precise USD values. An affordable alternative to Arkham & Nansen for on-chain investigations. Export structured data (JSON/CSV/Excel).",
    "version": "0.0",
    "x-build-id": "UMVM26EqB0TLBHBfe"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/muhammetakkurtt~crypto-wallet-transfers-swaps-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-muhammetakkurtt-crypto-wallet-transfers-swaps-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/muhammetakkurtt~crypto-wallet-transfers-swaps-scraper/runs": {
      "post": {
        "operationId": "runs-sync-muhammetakkurtt-crypto-wallet-transfers-swaps-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/muhammetakkurtt~crypto-wallet-transfers-swaps-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-muhammetakkurtt-crypto-wallet-transfers-swaps-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "base",
          "dataType"
        ],
        "properties": {
          "base": {
            "title": "Wallet Address or Entity",
            "type": "string",
            "description": "Filter by a specific entity or address. Pass multiple comma-separated to combine their results (e.g., 'microstrategy,binance'). For example, '0xd8da6bf26964af9d7eed9e03e53415d37aa96045' or 'binance'.",
            "default": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045"
          },
          "dataType": {
            "title": "Data Type",
            "enum": [
              "transfers",
              "swaps",
              "portfolioTimeSeries"
            ],
            "type": "string",
            "description": "What to collect. 'Transfers' and 'Swaps' return the entity/address's transactions — the optional filters further down (direction, USD, dates, token filter, counterparties, sort) apply to these two. 'Portfolio Time Series' returns an entity's daily holdings history for a single token — for this mode, fill in the 'Token' field below (the transaction filters are ignored).",
            "default": "transfers"
          },
          "pricingId": {
            "title": "Token to Track (Portfolio Time Series)",
            "type": "string",
            "description": "Required for 'Portfolio Time Series'. The coin whose holdings you want to see for the entity — the run returns the entity's daily balance of this one coin over time (e.g. how much Bitcoin an entity held each day). Use the token's CoinGecko ID, such as 'bitcoin', 'ethereum', 'usd-coin', or 'tether'."
          },
          "maxItems": {
            "title": "Maximum Total Results",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum number of records to collect per wallet/entity (transactions, or daily rows for Portfolio Time Series). Increase it for full portfolio history.",
            "default": 100
          },
          "offset": {
            "title": "Start Offset",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Skip this many results before collecting. Use together with 'Maximum Total Results' to fetch a specific window (for example, skip the first 100 results and collect the next batch).",
            "default": 0
          },
          "flow": {
            "title": "Transaction Direction",
            "enum": [
              "all",
              "in",
              "out",
              "self"
            ],
            "type": "string",
            "description": "Filter transactions by direction. 'self' is available for self-transfers."
          },
          "chains": {
            "title": "Blockchain Networks",
            "type": "array",
            "description": "Filter by specific blockchain networks. Applies to all data types. Leave empty to include all networks.",
            "items": {
              "type": "string",
              "enum": [
                "bitcoin",
                "ethereum",
                "solana",
                "arbitrum_one",
                "tron",
                "dogecoin",
                "ton",
                "base",
                "optimism",
                "sonic",
                "mantle",
                "avalanche",
                "zcash",
                "flare",
                "polygon",
                "bnb",
                "linea",
                "blast",
                "manta"
              ],
              "enumTitles": [
                "Bitcoin",
                "Ethereum",
                "Solana",
                "Arbitrum One",
                "Tron",
                "Dogecoin",
                "TON",
                "Base",
                "Optimism",
                "Sonic",
                "Mantle",
                "Avalanche",
                "Zcash",
                "Flare",
                "Polygon",
                "BNB Chain",
                "Linea",
                "Blast",
                "Manta"
              ]
            }
          },
          "timeGte": {
            "title": "Start Date",
            "pattern": "^(\\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$|^(\\d+)\\s*(day|week|month|year)s?$",
            "type": "string",
            "description": "Only include transactions after this date. Use YYYY-MM-DD format or relative format (e.g., '7 days', '2 weeks', '1 month')"
          },
          "timeLte": {
            "title": "End Date",
            "pattern": "^(\\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$|^(\\d+)\\s*(day|week|month|year)s?$",
            "type": "string",
            "description": "Only include transactions before this date. Use YYYY-MM-DD format or relative format (e.g., '7 days', '2 weeks', '1 month')"
          },
          "usdGte": {
            "title": "Minimum USD Value",
            "minimum": 0,
            "type": "number",
            "description": "Only include transactions with USD value greater than or equal to this amount",
            "default": 0
          },
          "usdLte": {
            "title": "Maximum USD Value",
            "type": "number",
            "description": "Only include transactions with USD value less than or equal to this amount"
          },
          "tokens": {
            "title": "Token Filter",
            "type": "array",
            "description": "Transfers & Swaps only. Keep only transactions in these tokens (e.g., 'ethereum', 'usd-coin', '0x...tokenAddress'). This is NOT the same as the 'Token' field used for Portfolio Time Series.",
            "items": {
              "type": "string"
            }
          },
          "fromFilter": {
            "title": "From (Sender) Filter",
            "type": "array",
            "description": "Filter by sender addresses or entities (e.g., '0x...', 'binance', 'type:cex')",
            "items": {
              "type": "string"
            }
          },
          "toFilter": {
            "title": "To (Receiver) Filter",
            "type": "array",
            "description": "Filter by receiver addresses or entities (e.g., '0x...', 'binance', 'type:cex')",
            "items": {
              "type": "string"
            }
          },
          "counterparties": {
            "title": "Counterparties",
            "type": "array",
            "description": "Only show transactions between the wallet and these counterparties",
            "items": {
              "type": "string"
            }
          },
          "sortKey": {
            "title": "Sort By",
            "enum": [
              "time",
              "usd"
            ],
            "type": "string",
            "description": "Field to sort results by",
            "default": "time"
          },
          "sortDir": {
            "title": "Sort Direction",
            "enum": [
              "desc",
              "asc"
            ],
            "type": "string",
            "description": "Sorting direction",
            "default": "desc"
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Using a proxy is recommended for faster and more reliable results",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": []
            }
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}