{
  "openapi": "3.0.1",
  "info": {
    "title": "Awesome Crypto News Scraper",
    "description": "Reads public Google News RSS feeds for crypto and blockchain topics and normalizes source-backed article records.",
    "version": "1.0",
    "x-build-id": "CtRavQiagPMYEXgX8"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/codingfrontend~awesome-crypto-news-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-codingfrontend-awesome-crypto-news-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/codingfrontend~awesome-crypto-news-scraper/runs": {
      "post": {
        "operationId": "runs-sync-codingfrontend-awesome-crypto-news-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/codingfrontend~awesome-crypto-news-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-codingfrontend-awesome-crypto-news-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": [
          "feedUrls"
        ],
        "properties": {
          "keywords": {
            "title": "Keywords",
            "maxItems": 20,
            "type": "array",
            "description": "Optional terms used to label matching articles. This does not filter items returned by the selected feeds. Up to 20 strings, each at most 80 characters.",
            "items": {
              "type": "string",
              "maxLength": 80
            }
          },
          "searchKeywords": {
            "title": "Keywords (compatibility alias)",
            "maxItems": 20,
            "type": "array",
            "description": "Compatibility alias for keywords. Do not set both fields to different values. Up to 20 strings, each at most 80 characters.",
            "items": {
              "type": "string",
              "maxLength": 80
            }
          },
          "query": {
            "title": "Query label",
            "maxLength": 300,
            "type": "string",
            "description": "Optional query stored on each article. It does not change which items a publisher feed returns. If omitted, the query is the keyword list joined with OR, or bitcoin OR ethereum OR blockchain when no keywords are supplied. Maximum 300 characters."
          },
          "searchQuery": {
            "title": "Query label (compatibility alias)",
            "maxLength": 300,
            "type": "string",
            "description": "Compatibility alias for query. Do not set both fields to different values. Maximum 300 characters."
          },
          "feedUrls": {
            "title": "Publisher RSS URLs",
            "minItems": 1,
            "maxItems": 10,
            "type": "array",
            "description": "Required: provide 1 to 10 HTTPS RSS/feed URLs on supported Cointelegraph or Decrypt hosts. Their public feed routes are checked before requests; Google News and other hosts are not supported.",
            "items": {
              "type": "string",
              "maxLength": 1000
            }
          },
          "language": {
            "title": "Fallback language",
            "maxLength": 20,
            "type": "string",
            "description": "Language label used when a feed does not provide one. Maximum 20 characters.",
            "default": "en-US"
          },
          "country": {
            "title": "Fallback country",
            "pattern": "^[A-Za-z]{2,3}$",
            "minLength": 2,
            "maxLength": 3,
            "type": "string",
            "description": "Two- or three-letter country code used when a feed does not provide one. The value is stored in uppercase.",
            "default": "US"
          },
          "maxItems": {
            "title": "Maximum articles",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum number of articles across all selected feeds. The limit is global, not per feed.",
            "default": 20
          },
          "fetchArticlePages": {
            "title": "Fetch article pages",
            "type": "boolean",
            "description": "Try to enrich RSS records with public article-page metadata and body text. Failed enrichment does not remove the RSS article.",
            "default": false
          },
          "timeoutSecs": {
            "title": "Request timeout (seconds)",
            "minimum": 5,
            "maximum": 180,
            "type": "integer",
            "description": "Maximum wait for each feed or optional article-page request. Use requestTimeoutSecs only as a compatibility alias.",
            "default": 45
          },
          "requestTimeoutSecs": {
            "title": "Request timeout (compatibility alias)",
            "minimum": 5,
            "maximum": 180,
            "type": "integer",
            "description": "Compatibility alias for timeoutSecs. If both names are set, their values must match. The effective default is 45 seconds."
          },
          "requestDelayMs": {
            "title": "Delay between feed requests (milliseconds)",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Optional delay before each feed request. This does not delay optional article-page requests.",
            "default": 0
          },
          "maxRequestRetries": {
            "title": "Maximum request retries",
            "minimum": 0,
            "maximum": 3,
            "type": "integer",
            "description": "Retries after transient request failures. Access challenges are not retried.",
            "default": 1
          },
          "maxResponseBytes": {
            "title": "Maximum response size (bytes)",
            "minimum": 100000,
            "maximum": 10000000,
            "type": "integer",
            "description": "Maximum size accepted for each feed or article-page response. Oversized responses are stopped.",
            "default": 2000000
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}