{
  "openapi": "3.0.1",
  "info": {
    "title": "COMPR.AR Argentina Tenders Scraper: Licitaciones & Awards",
    "description": "Argentina public tenders and procurement from COMPR.AR (compras públicas): licitaciones públicas and privadas, contrataciones directas, with buyer, dates and estimated amount; awards with supplier CUIT and amount; the SIPRO supplier registry. Open data. Export to JSON, CSV or Excel, or via API.",
    "version": "1.0",
    "x-build-id": "dyj7wUizbfbl3Wfxa"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/steadyscrape~comprar-argentina-tenders-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-steadyscrape-comprar-argentina-tenders-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/steadyscrape~comprar-argentina-tenders-scraper/runs": {
      "post": {
        "operationId": "runs-sync-steadyscrape-comprar-argentina-tenders-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/steadyscrape~comprar-argentina-tenders-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-steadyscrape-comprar-argentina-tenders-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",
        "properties": {
          "dataset": {
            "title": "What to get",
            "enum": [
              "tenders",
              "awards",
              "suppliers"
            ],
            "type": "string",
            "description": "<b>Calls for tenders</b>: COMPR.AR's convocatorias (licitaciones, contrataciones directas, concursos, subastas) with buyer, procedure, dates, object and estimated amount. <b>Awards and purchase orders</b>: each award with the supplier's CUIT and name, the contract document, its amount and currency. <b>Suppliers</b>: the SIPRO registry's legal entities (companies, cooperatives, foreign firms; never natural persons). Everything comes from the Jefatura de Gabinete de Ministros' open data on datos.gob.ar (CC BY 4.0), newest first.",
            "default": "tenders"
          },
          "includeAwards": {
            "title": "Add each call's awards",
            "type": "boolean",
            "description": "Calls for tenders only: each call comes with its awards and purchase orders (supplier, CUIT, document, amount, currency, dates), read from the awards file. A call delivered with at least one award is charged as a call with awards; one not awarded yet is charged as a plain call. Awards reach the open data about two months after the call.",
            "default": false
          },
          "withinDays": {
            "title": "In the last N days",
            "minimum": 0,
            "maximum": 3650,
            "type": "integer",
            "description": "Only rows dated in the last N days of Argentina's calendar, today included: the publication day of a call, the award day, a supplier's pre-registration day. 0 means no window. Ignored when the first day below is set. The open data runs behind COMPR.AR (calls about two weeks, awards about two months), so a short window can be empty: the free row says how far the file reaches.",
            "default": 0
          },
          "dateFrom": {
            "title": "From (optional)",
            "pattern": "^(\\d{4}-\\d{2}-\\d{2})?$",
            "type": "string",
            "description": "The first day, YYYY-MM-DD: publication for calls, award for awards, pre-registration for suppliers."
          },
          "dateTo": {
            "title": "To (optional)",
            "pattern": "^(\\d{4}-\\d{2}-\\d{2})?$",
            "type": "string",
            "description": "The last day, YYYY-MM-DD, included. Empty means up to the newest row."
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Any of these words or phrases, accents and case aside: in a call's name and object, in an award's supplier name and rubros, in a supplier's company name. Spanish words match best (\"limpieza\", \"medicamentos\", \"software\").",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "buyers": {
            "title": "Buyers",
            "type": "array",
            "description": "A SAF number (\"604\") or words of the buying agency or its purchasing unit (\"Vialidad\", \"Armada\", \"Parques Nacionales\"). Calls and awards.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "procedureTypes": {
            "title": "Procedure types",
            "type": "array",
            "description": "Calls and awards of these procedure types. Empty means every type.",
            "items": {
              "type": "string",
              "enum": [
                "licitacion-publica",
                "licitacion-privada",
                "contratacion-directa",
                "concurso-publico",
                "concurso-privado",
                "subasta",
                "compulsa-de-precios",
                "other"
              ],
              "enumTitles": [
                "Licitación pública (public tender)",
                "Licitación privada (restricted tender)",
                "Contratación directa (direct contracting)",
                "Concurso público (public contest)",
                "Concurso privado (restricted contest)",
                "Subasta (auction)",
                "Compulsa de precios (price comparison)",
                "Any other type"
              ]
            },
            "default": []
          },
          "minAmount": {
            "title": "Minimum amount",
            "minimum": 0,
            "type": "integer",
            "description": "A call's estimated amount in ARS, or an award's amount in its own currency, at least this. A row without an amount is left out when set."
          },
          "maxAmount": {
            "title": "Maximum amount",
            "minimum": 0,
            "type": "integer",
            "description": "The same amount, at most this."
          },
          "supplierCuits": {
            "title": "Supplier CUITs",
            "type": "array",
            "description": "Awards to, or registry entries of, these CUITs: 30-66210960-2, 30662109602 or 30.66210960.2.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "rubros": {
            "title": "Rubros",
            "type": "array",
            "description": "COMPR.AR's supply categories: awards in, or suppliers registered for, any of these. Empty means every rubro.",
            "items": {
              "type": "string",
              "enum": [
                "agric-ganaderia-caza-silvicult",
                "alimentos",
                "alquiler",
                "articulos-del-hogar",
                "bancos-y-seguros",
                "bazar-y-menaje",
                "carpinteria",
                "ceremonial",
                "cerrajeria",
                "cine-telvis-radio-fotografia",
                "combustibles-y-lubricantes",
                "concesion",
                "construccion",
                "cultura",
                "electricidad-y-telefonia",
                "elementos-de-limpieza",
                "equipo-de-oficina-y-muebles",
                "equipo-militar-y-de-seguridad",
                "equipos",
                "ferreteria",
                "gases-industriales",
                "herramientas",
                "herreria",
                "imprenta-y-editoriales",
                "indument-textil-y-confecciones",
                "informatica",
                "inmuebles",
                "insumo-p-armamento",
                "joyeria-y-orfebreria",
                "libreria-pap-y-utiles-oficina",
                "mant-reparacion-y-limpieza",
                "materiales-de-construccion",
                "metales",
                "metalurgia",
                "nautica",
                "pinturas",
                "prod-medico-farmaceuticos-lab",
                "productos-veterinarios",
                "quimicos",
                "repuestos",
                "sanitarios-plomeria-y-gas",
                "serv-profesional-y-comercial",
                "servicio-de-noticias",
                "servicios-basicos",
                "tapiceria",
                "transporte-y-deposito",
                "utiles-y-productos-deportivos",
                "vidrieria",
                "vigilancia-y-seguridad"
              ],
              "enumTitles": [
                "Agric, ganaderia, caza, silvicult",
                "Alimentos",
                "Alquiler",
                "Articulos del hogar",
                "Bancos y seguros",
                "Bazar y menaje",
                "Carpinteria",
                "Ceremonial",
                "Cerrajeria",
                "Cine/telvis./radio/fotografia",
                "Combustibles y lubricantes",
                "Concesion",
                "Construccion",
                "Cultura",
                "Electricidad y telefonia",
                "Elementos de limpieza",
                "Equipo de oficina y muebles",
                "Equipo militar y de seguridad",
                "Equipos",
                "Ferreteria",
                "Gases industriales",
                "Herramientas",
                "Herreria",
                "Imprenta y editoriales",
                "Indument textil y confecciones",
                "Informatica",
                "Inmuebles",
                "Insumo p/ armamento",
                "Joyeria y orfebreria",
                "Libreria, pap. y utiles oficina",
                "Mant. reparacion y limpieza",
                "Materiales de construccion",
                "Metales",
                "Metalurgia",
                "Nautica",
                "Pinturas",
                "Prod. medico/farmaceuticos/lab",
                "Productos veterinarios",
                "Quimicos",
                "Repuestos",
                "Sanitarios, plomeria y gas",
                "Serv. profesional y comercial",
                "Servicio de noticias",
                "Servicios basicos",
                "Tapiceria",
                "Transporte y deposito",
                "Utiles y productos deportivos",
                "Vidrieria",
                "Vigilancia y seguridad"
              ]
            },
            "default": []
          },
          "provinces": {
            "title": "Provinces",
            "type": "array",
            "description": "Suppliers only: entities whose address is in these provinces. Empty means everywhere, foreign entities included.",
            "items": {
              "type": "string",
              "enum": [
                "ciudad-autonoma-de-buenos-aires",
                "buenos-aires",
                "catamarca",
                "chaco",
                "chubut",
                "cordoba",
                "corrientes",
                "entre-rios",
                "formosa",
                "jujuy",
                "la-pampa",
                "la-rioja",
                "mendoza",
                "misiones",
                "neuquen",
                "rio-negro",
                "salta",
                "san-juan",
                "san-luis",
                "santa-cruz",
                "santa-fe",
                "santiago-del-estero",
                "tierra-del-fuego",
                "tucuman"
              ],
              "enumTitles": [
                "Ciudad Autónoma de Buenos Aires",
                "Buenos Aires",
                "Catamarca",
                "Chaco",
                "Chubut",
                "Córdoba",
                "Corrientes",
                "Entre Ríos",
                "Formosa",
                "Jujuy",
                "La Pampa",
                "La Rioja",
                "Mendoza",
                "Misiones",
                "Neuquén",
                "Río Negro",
                "Salta",
                "San Juan",
                "San Luis",
                "Santa Cruz",
                "Santa Fe",
                "Santiago del Estero",
                "Tierra del Fuego",
                "Tucumán"
              ]
            },
            "default": []
          },
          "legalForms": {
            "title": "Legal forms",
            "type": "array",
            "description": "Suppliers only: entities of these legal forms. Natural persons are never delivered.",
            "items": {
              "type": "string",
              "enum": [
                "sociedad-anonima",
                "srl",
                "cooperativa",
                "sociedad-de-hecho",
                "ute",
                "organismo-publico",
                "otras-formas-societarias",
                "extranjera-sin-sucursal",
                "taller-protegido",
                "other"
              ],
              "enumTitles": [
                "Sociedad anónima (S.A.)",
                "Sociedad de responsabilidad limitada (S.R.L.)",
                "Cooperativa",
                "Sociedad de hecho",
                "Unión transitoria de empresas (UTE)",
                "Organismo público",
                "Otras formas societarias",
                "Foreign legal entity without a branch",
                "Taller protegido",
                "Any other form"
              ]
            },
            "default": []
          },
          "onlyNew": {
            "title": "Only rows not delivered before",
            "type": "boolean",
            "description": "For a scheduled feed: each run delivers only the rows earlier runs of the same search did not, remembered in your account. With awards added, a call comes back when it gets a new award. Pair it with a window (\"In the last N days\").",
            "default": false
          },
          "maxResults": {
            "title": "Maximum rows",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "The most rows one run delivers, newest first (at most 50,000). Free status rows do not count.",
            "default": 100
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}