{
  "openapi": "3.0.1",
  "info": {
    "title": "Investing.com Crypto All-in-One: Prices, History & Top Coins",
    "description": "One scraper for everything about a cryptocurrency on Investing.com (Bitcoin, Ethereum, Solana...): live price, historical prices, technical analysis, news, related coins and the top cryptocurrencies ranked by market cap. 32 languages, any currency.",
    "version": "1.0",
    "x-build-id": "1FKEeSR6BS8jYCtJC"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/pintostudio~investing-com-crypto/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-pintostudio-investing-com-crypto",
        "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/pintostudio~investing-com-crypto/runs": {
      "post": {
        "operationId": "runs-sync-pintostudio-investing-com-crypto",
        "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/pintostudio~investing-com-crypto/run-sync": {
      "post": {
        "operationId": "run-sync-pintostudio-investing-com-crypto",
        "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": {
          "instruments": {
            "title": "Cryptocurrencies to look up",
            "type": "array",
            "description": "Coin symbols (BTC), names (Bitcoin) or investing.com links. One per line.",
            "items": {
              "type": "string"
            }
          },
          "dataToGet": {
            "title": "What do you want to get?",
            "type": "array",
            "description": "Pick one or more. Options starting with MARKET do not need anything in the list above.",
            "items": {
              "type": "string",
              "enum": [
                "overview",
                "historical",
                "technical",
                "news",
                "related",
                "top_cryptos"
              ],
              "enumTitles": [
                "Quote & overview (price, change, 52-week range, market cap...)",
                "Historical prices (open, high, low, close, volume)",
                "Technical analysis (indicators, moving averages, pivot points)",
                "Latest news",
                "Related instruments (people also watch)",
                "MARKET: top cryptocurrencies by market cap"
              ]
            },
            "default": [
              "overview"
            ]
          },
          "language": {
            "title": "Language",
            "enum": [
              "en",
              "en-gb",
              "en-in",
              "en-ca",
              "en-au",
              "en-za",
              "en-ph",
              "en-ng",
              "de",
              "es",
              "es-mx",
              "fr",
              "it",
              "nl",
              "pt",
              "pt-br",
              "pl",
              "ru",
              "tr",
              "ar",
              "el",
              "sv",
              "fi",
              "he",
              "ja",
              "ko",
              "zh-cn",
              "zh-hk",
              "id",
              "ms",
              "th",
              "vi"
            ],
            "type": "string",
            "description": "investing.com edition to read. Names, descriptions and news come in this language.",
            "default": "en"
          },
          "currency": {
            "title": "Currency (optional)",
            "type": "string",
            "description": "Convert prices into this currency, e.g. EUR, BRL, JPY. Type 'local' for the currency of the chosen language's country. Leave empty to keep each instrument's own currency."
          },
          "historicalFrom": {
            "title": "Historical data from",
            "type": "string",
            "description": "First date for 'Historical prices'. Empty = 30 days ago."
          },
          "historicalTo": {
            "title": "Historical data to",
            "type": "string",
            "description": "Last date for 'Historical prices'. Empty = today."
          },
          "historicalInterval": {
            "title": "Interval",
            "enum": [
              "daily",
              "weekly",
              "monthly"
            ],
            "type": "string",
            "description": "One row per day, per week or per month.",
            "default": "daily"
          },
          "historicalOrder": {
            "title": "Order",
            "enum": [
              "asc",
              "desc"
            ],
            "type": "string",
            "description": "Oldest first or newest first.",
            "default": "asc"
          },
          "splitHistoricalRows": {
            "title": "One row per day",
            "type": "boolean",
            "description": "Save each price row as its own dataset item (best for Excel/CSV export).",
            "default": false
          },
          "technicalInterval": {
            "title": "Technical analysis timeframe",
            "enum": [
              "all",
              "1m",
              "5m",
              "15m",
              "30m",
              "1h",
              "5h",
              "1d",
              "1w",
              "1mo"
            ],
            "type": "string",
            "description": "Timeframe of the technical analysis (Daily is the usual choice).",
            "default": "1d"
          },
          "marketLimit": {
            "title": "Maximum market rows",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "How many rows the MARKET options return at most.",
            "default": 100
          },
          "proxyType": {
            "title": "Proxy",
            "enum": [
              "ours",
              "own"
            ],
            "type": "string",
            "description": "Our proxy is included in the price, you pay nothing extra. Choose \"My own proxy\" to send the requests through your own proxy instead (its traffic is billed by your proxy provider, not by us).",
            "default": "ours"
          },
          "ownProxyUrls": {
            "title": "Your proxy URLs",
            "type": "array",
            "description": "Only used when Proxy is \"My own proxy\". One URL per line, e.g. http://user:pass@host:port. Several URLs are rotated.",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}