{
  "openapi": "3.0.1",
  "info": {
    "title": "Money Transfer Rates Scraper — Fees, FX & Delivery",
    "description": "Compare money transfer costs from banks and remittance providers (Wise, Western Union, Remitly, Xoom, OFX, PayPal, big banks …) for any corridor and amount: exchange rate, fee, markup over the mid-market rate, amount received, total cost, rank, delivery time. No login.",
    "version": "0.1",
    "x-build-id": "pKzbzIMoRIOdqEKZt"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/yugenox~remittance-rates-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-yugenox-remittance-rates-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/yugenox~remittance-rates-scraper/runs": {
      "post": {
        "operationId": "runs-sync-yugenox-remittance-rates-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/yugenox~remittance-rates-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-yugenox-remittance-rates-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": {
          "corridors": {
            "title": "💱 Corridors (send currency - receive currency)",
            "type": "array",
            "description": "Currency pairs to compare, one per line: \"CAD-INR\", \"USD-MXN\", \"GBP-EUR\", \"AUD-PHP\" … (3-letter currency codes; \"USD to MXN\", \"USD/MXN\" and \"USDMXN\" work too). To pin countries — useful for currencies used in many countries like USD or EUR — add them after a colon: \"USD:US-MXN:MX\", \"GBP-EUR:DE\". Each corridor is compared for every amount below.",
            "default": [
              "CAD-INR",
              "USD-MXN"
            ],
            "items": {
              "type": "string"
            }
          },
          "sendAmounts": {
            "title": "Amounts to send",
            "type": "array",
            "description": "Amounts in the SEND currency, e.g. \"500\", \"1000\", \"5000\" — one comparison per corridor and amount. Fees and rates often change with the amount, so several amounts show where each provider gets cheaper. Default 1000.",
            "default": [
              "1000"
            ],
            "items": {
              "type": "string"
            }
          },
          "receiveAmounts": {
            "title": "Amounts the recipient should get (optional)",
            "type": "array",
            "description": "Amounts in the RECEIVE currency, e.g. \"50000\" for INR. Each provider then shows how much you would have to send so the recipient gets exactly that amount, ranked cheapest first.",
            "items": {
              "type": "string"
            }
          },
          "sourceCountry": {
            "title": "Sender's country (optional)",
            "type": "string",
            "description": "2-letter country code of the sender, e.g. \"US\", \"GB\", \"DE\". Applies to every corridor that doesn't name its own country. Leave empty to let each provider quote its usual sending country."
          },
          "targetCountry": {
            "title": "Recipient's country (optional)",
            "type": "string",
            "description": "2-letter country code of the recipient, e.g. \"IN\", \"MX\", \"FR\". Useful for multi-country currencies (EUR, USD, XOF): without it, a provider may quote several destination countries and the best one is kept (see \"Quotes per provider\")."
          },
          "providerTypes": {
            "title": "Provider types",
            "type": "array",
            "description": "Only banks, only money transfer providers (Wise, Western Union, Remitly, Xoom, OFX …), or both (empty = both).",
            "items": {
              "type": "string",
              "enum": [
                "bank",
                "moneyTransferProvider"
              ],
              "enumTitles": [
                "Banks",
                "Money transfer providers"
              ]
            }
          },
          "providers": {
            "title": "Only these providers",
            "type": "array",
            "description": "Keep only these providers, by name, e.g. \"Wise\", \"Western Union\", \"Remitly\", \"TD Bank\" (case and spaces don't matter; \"Chase\" matches \"Chase (US)\"). Their rank is still counted among all providers of the comparison. Empty = all.",
            "items": {
              "type": "string"
            }
          },
          "quotesPerProvider": {
            "title": "Quotes per provider",
            "enum": [
              "best",
              "all"
            ],
            "type": "string",
            "description": "Some providers quote one price per destination country (for example Xoom and Western Union to the many Euro countries). \"Best quote\" keeps each provider's best one; \"Every quote\" keeps them all as separate rows (more rows, more cost). Setting the recipient's country gives one quote per provider anyway.",
            "default": "best"
          },
          "maxProvidersPerComparison": {
            "title": "Top providers per comparison",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Keep only the N best providers of each comparison (by amount received, or by amount to send for \"Amounts the recipient should get\"). 0 = all of them.",
            "default": 0
          },
          "maxItems": {
            "title": "Max quotes",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum number of quotes (rows) for the whole run. 0 = no limit. When a comparison is cut short, its best quotes are the ones kept.",
            "default": 1000
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify Proxy (datacenter) is the default and comes with every Apify plan, including the free one.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}