{
  "openapi": "3.0.1",
  "info": {
    "title": "Token Risk Signals from Supplied Evidence",
    "description": "Compute transparent token risk signals from your JSON or Apify dataset observations, with coverage, unknown values and explicit unverified provenance.",
    "version": "0.1",
    "x-build-id": "T7Ge1zBrd9HGzSVCk"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/thescrapelab~pumpfun-token-risk-creator-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-thescrapelab-pumpfun-token-risk-creator-monitor",
        "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/thescrapelab~pumpfun-token-risk-creator-monitor/runs": {
      "post": {
        "operationId": "runs-sync-thescrapelab-pumpfun-token-risk-creator-monitor",
        "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/thescrapelab~pumpfun-token-risk-creator-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-thescrapelab-pumpfun-token-risk-creator-monitor",
        "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",
        "properties": {
          "providedRecords": {
            "title": "Your records (JSON)",
            "type": "array",
            "description": "Paste records you have permission to process. These are normalized, validated and deduplicated without fetching their original websites. Use this OR a supplied dataset ID. Invalid web URLs, non-finite values and negative prices or counts are rejected. Unknown values remain unknown.",
            "items": {
              "type": "object"
            }
          },
          "providedDatasetId": {
            "title": "Your Apify dataset ID",
            "type": "string",
            "description": "Optional 17-character ID of a dataset you can access. Clear the JSON records to [] when using a dataset. Only a bounded number of records is read."
          },
          "maxTokens": {
            "title": "Maximum tokens to analyze",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Set the maximum number of token analyses and paid token events for this run. The hard limit is 100 tokens.",
            "default": 1
          },
          "providedRecordLimit": {
            "title": "Maximum supplied observations to scan",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Includes duplicate and invalid observations. maxTokens bounds delivered unique mint analyses.",
            "default": 3
          },
          "tokenUrlsOrMints": {
            "title": "Pump.fun token URLs or mint addresses (legacy)",
            "maxItems": 100,
            "type": "array",
            "description": "Inactive for supplied-data processing. Retained for existing API clients. Add Pump.fun token URLs or Solana mint addresses to analyze. Duplicate targets are removed automatically, with up to 100 unique tokens per run. The form includes one historical example token for a reliable first run; clear it to discover only recent launches. This example is not a recommendation.",
            "items": {
              "type": "string",
              "minLength": 32,
              "maxLength": 300
            },
            "default": []
          },
          "discoverLatest": {
            "title": "Discover recent Pump.fun tokens (legacy)",
            "type": "boolean",
            "description": "Inactive for supplied-data processing. Retained for existing API clients. Find recent Pump.fun launches when the target list contains fewer tokens than the maximum token limit.",
            "default": true
          },
          "bondingCurveState": {
            "title": "Filter by bonding-curve status (legacy)",
            "enum": [
              "any",
              "active",
              "complete"
            ],
            "type": "string",
            "description": "Inactive for supplied-data processing. Retained for existing API clients. Analyze all matching tokens, only active bonding curves, or only completed and graduated tokens.",
            "default": "any"
          },
          "includeCreatorHistory": {
            "title": "Include creator launch history (legacy)",
            "type": "boolean",
            "description": "Inactive for supplied-data processing. Retained for existing API clients. Inspect each token creator's observed launch history for rapid launches, banned tokens, completed launches, and reused links.",
            "default": true
          },
          "creatorHistoryLimit": {
            "title": "Creator launches to inspect (legacy)",
            "minimum": 1,
            "maximum": 70,
            "type": "integer",
            "description": "Inactive for supplied-data processing. Retained for existing API clients. Set the maximum number of prior launches inspected for each unique creator, from 1 to 70.",
            "default": 10
          },
          "monitoringEnabled": {
            "title": "Monitor token changes between runs (legacy)",
            "type": "boolean",
            "description": "Inactive for supplied-data processing. Retained for existing API clients. Save compact token snapshots and return change records when risk, market cap, ban, security, or graduation signals change.",
            "default": false
          },
          "stateStoreName": {
            "title": "Monitoring state store name (legacy)",
            "pattern": "^[A-Za-z0-9._-]+$",
            "minLength": 3,
            "maxLength": 80,
            "type": "string",
            "description": "Inactive for supplied-data processing. Retained for existing API clients. Choose the named key-value store used for snapshots. Reuse the same name in later runs to compare token changes.",
            "default": "pumpfun-token-risk-monitor-state"
          },
          "maxConcurrency": {
            "title": "Maximum API request concurrency (legacy)",
            "minimum": 1,
            "maximum": 4,
            "type": "integer",
            "description": "Inactive for supplied-data processing. Retained for existing API clients. Set simultaneous source requests from 1 to 4. The default of 2 balances speed, source stability, memory, and cost.",
            "default": 2
          },
          "requestTimeoutSecs": {
            "title": "Source request timeout (legacy)",
            "minimum": 3,
            "maximum": 10,
            "type": "integer",
            "description": "Inactive for supplied-data processing. Retained for existing API clients. Set how many seconds one Pump.fun source request may take before it is treated as timed out.",
            "default": 8
          },
          "creatorWallets": {
            "title": "Creator wallets to research (legacy)",
            "maxItems": 10,
            "type": "array",
            "description": "Inactive for supplied-data processing. Retained for existing API clients. Inspect up to 10 creator wallets. Explicit token targets are analyzed first, then the most recent matching creator launches, then general discovery. Counts describe the inspected history sample.",
            "items": {
              "type": "string",
              "pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
            },
            "default": []
          },
          "includeMarketData": {
            "title": "Include market and liquidity data (legacy)",
            "type": "boolean",
            "description": "Inactive for supplied-data processing. Retained for existing API clients. Add DEX Screener market observations from the matching Solana base-token pair with the highest reported USD liquidity. Missing pools are reported as unavailable.",
            "default": true
          },
          "includeSecurityReport": {
            "title": "Include independent security findings (legacy)",
            "type": "boolean",
            "description": "Inactive for supplied-data processing. Retained for existing API clients. Add a RugCheck report when publicly available. Its score and creator identity remain separate from the Pump.fun assessment.",
            "default": true
          },
          "solanaRpcUrl": {
            "title": "Optional Solana RPC URL (legacy)",
            "type": "string",
            "description": "Inactive for supplied-data processing. Retained for existing API clients. Optional public HTTPS mainnet RPC endpoint, including your provider key if needed. Enables direct mint-authority, freeze-authority, supply, Token-2022, and largest-token-account checks. External provider usage is billed by your RPC provider. Do not enter a wallet private key."
          },
          "useResidentialProxy": {
            "title": "Allow paid residential proxy fallback (legacy)",
            "type": "boolean",
            "description": "Inactive for supplied-data processing. Retained for existing API clients. Optional paid fallback when Pump.fun denies a direct request. Disabled by default. Enable only when you accept Apify residential data-transfer charges; source and request limits still apply. Other providers and RPC requests remain direct.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}