RedFlagDeals
Pricing
Pay per event
RedFlagDeals
Extract Canadian deals, coupons, contests, and discussions from RedFlagDeals.
RedFlagDeals
Pricing
Pay per event
Extract Canadian deals, coupons, contests, and discussions from RedFlagDeals.
You can access the RedFlagDeals programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in API & Integrations in Apify Console.
{ "openapi": "3.0.1", "info": { "version": "1.3", "x-build-id": "5sP0nzuU6tKJ8qGbd" }, "servers": [ { "url": "https://api.apify.com/v2" } ], "paths": { "/acts/canadesk~redflagdeals/run-sync-get-dataset-items": { "post": { "operationId": "run-sync-get-dataset-items-canadesk-redflagdeals", "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/canadesk~redflagdeals/runs": { "post": { "operationId": "runs-sync-canadesk-redflagdeals", "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/canadesk~redflagdeals/run-sync": { "post": { "operationId": "run-sync-canadesk-redflagdeals", "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": [ "mode" ], "properties": { "mode": { "title": "Collection mode", "enum": [ "forumList", "rss", "keywordSearch", "threadDetails" ], "type": "string", "description": "Choose forum listings, the public Atom feed, keyword search, or specific thread details.", "default": "forumList" }, "queries": { "title": "Search several keywords", "type": "array", "description": "Optional list of up to 100 inputs in one run. Replaces the single input and selects its corresponding operation. Use only one batch list.", "items": { "type": "string" } }, "query": { "title": "Search words", "type": "string", "description": "Required for Search discussions. Searches public RedFlagDeals forum results." }, "threadUrls": { "title": "Thread URLs", "maxItems": 100, "type": "array", "description": "HTTPS RedFlagDeals thread URLs for Get thread details. The API also accepts a single url value.", "items": { "type": "string" } }, "categories": { "title": "Categories", "type": "array", "description": "Forum categories to collect. Use all to include deals, contests, coupons and free offers. RSS feeds are available by category; live verification currently covers deals.", "items": { "type": "string", "enum": [ "deals", "contests", "coupons", "free", "all" ] }, "default": [ "deals" ] }, "maxResults": { "title": "Maximum discussions", "minimum": 1, "type": "integer", "description": "Maximum real records across the entire run, shared by all inputs.", "default": 100 }, "maxResultsPerInput": { "title": "Maximum results per input", "minimum": 1, "type": "integer", "description": "Optional limit per batch input, within the run-wide Maximum results limit. Inputs are processed in order." }, "minVotes": { "title": "Minimum votes", "type": "integer", "description": "Keep discussions at or above this vote count. Use Disable vote filter to keep all vote counts. Entries without votes remain eligible.", "default": -5 }, "lastDays": { "title": "Recent activity window (days)", "minimum": 0, "maximum": 3650, "type": "integer", "description": "Keep discussions active within this many days. Set to 0 to disable the time filter.", "default": 5 }, "includeSponsored": { "title": "Include sponsored discussions", "type": "boolean", "description": "Include forum cards marked sponsored.", "default": false }, "includeDetails": { "title": "Add thread details and comments", "type": "boolean", "description": "Fetch bounded thread detail pages for forum/search results. Replies remain nested within each discussion record.", "default": false }, "disableVoteFilter": { "title": "Disable vote filter", "type": "boolean", "description": "Include discussions regardless of their vote count.", "default": false }, "maxPages": { "title": "Maximum listing pages", "minimum": 1, "maximum": 100, "type": "integer", "description": "Maximum pages to read per category or search, subject to available source pagination.", "default": 1 }, "maxDetailThreads": { "title": "Maximum threads to enrich", "minimum": 1, "maximum": 100, "type": "integer", "description": "Maximum threads to enrich. Defaults to all supplied URLs in Thread details mode, or one thread in other modes (up to 100)." }, "maxDetailPages": { "title": "Maximum pages per thread", "minimum": 1, "maximum": 20, "type": "integer", "description": "Maximum source pages to read for each selected thread.", "default": 1 }, "maxComments": { "title": "Maximum comments per thread", "minimum": 0, "maximum": 500, "type": "integer", "description": "Maximum unique nested comments retained per thread.", "default": 50 }, "proxy": { "title": "Proxy configuration", "type": "object", "description": "Optional proxy for source requests." } } }, "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 } } } } } } } } }}OpenAPI is a standard for designing and describing RESTful APIs, allowing developers to define API structure, endpoints, and data formats in a machine-readable way. It simplifies API development, integration, and documentation.
OpenAPI is effective when used with AI agents and GPTs by standardizing how these systems interact with various APIs, for reliable integrations and efficient communication.
By defining machine-readable API specifications, OpenAPI allows AI models like GPTs to understand and use varied data sources, improving accuracy. This accelerates development, reduces errors, and provides context-aware responses, making OpenAPI a core component for AI applications.
You can download the OpenAPI definitions for RedFlagDeals from the options below:
If you’d like to learn more about how OpenAPI powers GPTs, read our blog post.
You can also check out our other API clients: