{
  "openapi": "3.0.1",
  "info": {
    "title": "StonkFun Launchpad Data: Tokens, Burns, Rewards",
    "description": "Everything on StonkFun, the Solana launchpad for tokenized-stock and stablecoin pairs: every token with market data, launches by creator, burns, holder rewards, airdrops, creator fees, quote pairs, bonding-curve pricing, platform stats and revenue, and a one-call token report.",
    "version": "1.0",
    "x-build-id": "Q0mfqeklXtakOjC66"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/stlakchain~stonkfun-launchpad-data/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-stlakchain-stonkfun-launchpad-data",
        "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/stlakchain~stonkfun-launchpad-data/runs": {
      "post": {
        "operationId": "runs-sync-stlakchain-stonkfun-launchpad-data",
        "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/stlakchain~stonkfun-launchpad-data/run-sync": {
      "post": {
        "operationId": "run-sync-stlakchain-stonkfun-launchpad-data",
        "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": [
          "dataset"
        ],
        "properties": {
          "dataset": {
            "title": "Dataset",
            "enum": [
              "stonk-tokens",
              "stonk-token-report",
              "stonk-token",
              "stonk-token-burns",
              "stonk-token-rewards",
              "stonk-token-airdrop",
              "stonk-token-fees",
              "stonk-token-backing",
              "stonk-launches",
              "stonk-launch-status",
              "stonk-pairs",
              "stonk-launchlab-pricing",
              "stonk-stats",
              "stonk-revenue",
              "stonk-rewards"
            ],
            "type": "string",
            "description": "What to fetch. Each dataset uses the fields below marked for it; fields for other datasets are ignored.",
            "default": "stonk-tokens"
          },
          "tokens": {
            "title": "Token addresses",
            "type": "array",
            "description": "Solana token mint address. Add as many as you need; each token is looked up in turn. Used by: stonk-token-report, stonk-token, stonk-token-burns, stonk-token-rewards, stonk-token-airdrop, stonk-token-fees, stonk-token-backing.",
            "default": [
              "6GmAFSYs4gk3FDao5FzzySQpPZaWsa4rUJHacpMpUNgx"
            ],
            "items": {
              "type": "string"
            }
          },
          "q": {
            "title": "Q",
            "type": "string",
            "description": "Search name, symbol or mint. Used by: stonk-tokens."
          },
          "sort": {
            "title": "Sort",
            "enum": [
              "marketCap",
              "newest",
              "volume"
            ],
            "type": "string",
            "description": "Order of the results. Used by: stonk-tokens.",
            "default": "marketCap"
          },
          "mode": {
            "title": "Mode",
            "enum": [
              "standard",
              "reward"
            ],
            "type": "string",
            "description": "Fee model. Used by: stonk-tokens, stonk-launches."
          },
          "status": {
            "title": "Status",
            "type": "string",
            "description": "Graduation status filter, e.g. graduated. Used by: stonk-tokens."
          },
          "quoteMint": {
            "title": "Quote mint",
            "type": "string",
            "description": "Only tokens paired with this quote mint (see stonk_pairs). Used by: stonk-tokens, stonk-launchlab-pricing."
          },
          "category": {
            "title": "Category",
            "type": "string",
            "description": "Pair category, e.g. xstock. Used by: stonk-tokens, stonk-pairs."
          },
          "page": {
            "title": "Page",
            "minimum": 1,
            "type": "integer",
            "description": "Page number, default 1. Used by: stonk-tokens, stonk-launches."
          },
          "pageSize": {
            "title": "Page size",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "1-100, default 25. Used by: stonk-tokens, stonk-launches.",
            "default": 25
          },
          "includeTrackedHolders": {
            "title": "Include tracked holders",
            "type": "boolean",
            "description": "Also query the provider's tracked holders for this mint (+500 credits). Used by: stonk-token-report."
          },
          "limit": {
            "title": "Limit",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "How many rows to return per input. Lower is faster and cheaper. Used by: stonk-token-burns, stonk-token-rewards, stonk-token-airdrop, stonk-token-fees, stonk-revenue, stonk-rewards."
          },
          "creator": {
            "title": "Creator",
            "type": "string",
            "description": "Creator wallet address. Used by: stonk-launches."
          },
          "since": {
            "title": "Since",
            "type": "string",
            "description": "ISO timestamp. Used by: stonk-launches."
          },
          "paymentSignature": {
            "title": "Payment signature",
            "type": "string",
            "description": "Payment signature. Used by: stonk-launch-status."
          },
          "launchable": {
            "title": "Launchable",
            "type": "boolean",
            "description": "Only pairs a new launch can use. Used by: stonk-pairs."
          },
          "launchLabReady": {
            "title": "Launch lab ready",
            "type": "boolean",
            "description": "Only pairs ready for a LaunchLab launch. Used by: stonk-pairs."
          },
          "history": {
            "title": "History",
            "type": "boolean",
            "description": "Also return the daily series. Used by: stonk-revenue."
          },
          "maxItems": {
            "title": "Maximum rows",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Stop after this many rows, whatever the inputs would produce. Caps the cost of a run.",
            "default": 1000
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}