{
  "openapi": "3.0.1",
  "info": {
    "title": "US HealthCare.gov Plan & Network Directory Finder",
    "description": "Find 2026 individual Marketplace plans, issuers and official provider-directory links in 30 supported states. Includes source versions and URL reachability; no clinician or specialty matching.",
    "version": "1.0",
    "x-build-id": "CJ9Iau2zD4Pzp3KWm"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/afkdigital~newapi13-marketplace-network-directory/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-afkdigital-newapi13-marketplace-network-directory",
        "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/afkdigital~newapi13-marketplace-network-directory/runs": {
      "post": {
        "operationId": "runs-sync-afkdigital-newapi13-marketplace-network-directory",
        "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/afkdigital~newapi13-marketplace-network-directory/run-sync": {
      "post": {
        "operationId": "run-sync-afkdigital-newapi13-marketplace-network-directory",
        "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": [
          "state"
        ],
        "properties": {
          "planYear": {
            "title": "Plan year",
            "minimum": 2026,
            "maximum": 2026,
            "type": "integer",
            "description": "This release supports the validated 2026 snapshot only.",
            "default": 2026
          },
          "state": {
            "title": "State",
            "enum": [
              "AK",
              "AL",
              "AR",
              "AZ",
              "DE",
              "FL",
              "HI",
              "IA",
              "IN",
              "KS",
              "LA",
              "MI",
              "MO",
              "MS",
              "MT",
              "NC",
              "ND",
              "NE",
              "NH",
              "OH",
              "OK",
              "OR",
              "SC",
              "SD",
              "TN",
              "TX",
              "UT",
              "WI",
              "WV",
              "WY"
            ],
            "type": "string",
            "description": "Main Exchange PUF geography: the 30 states listed here. Other state-based exchanges are not included.",
            "default": "FL"
          },
          "county": {
            "title": "County FIPS or county name",
            "type": "string",
            "description": "Optional five-digit FIPS (for example 12086) or exact county name within the selected state. Partial-county service is labeled in output."
          },
          "zip": {
            "title": "ZIP code",
            "pattern": "^[0-9]{5}$",
            "type": "string",
            "description": "Limited ZIP support: matches only ZIPs explicitly listed in CMS partial-county service areas. It does not list all plans for a ZIP. Unsupported ZIPs fail clearly; use county for broader search. Keep leading zeros."
          },
          "planType": {
            "title": "Plan / network type",
            "enum": [
              "all",
              "HMO",
              "PPO",
              "EPO",
              "POS",
              "Indemnity"
            ],
            "type": "string",
            "description": "CMS PlanType: HMO, PPO, EPO, POS or Indemnity. This is not a provider-specialty filter.",
            "default": "all"
          },
          "coverage": {
            "title": "Medical or standalone dental",
            "enum": [
              "medical",
              "dental",
              "all"
            ],
            "type": "string",
            "description": "Select medical, standalone dental, or both.",
            "default": "medical"
          },
          "issuerId": {
            "title": "Issuer ID",
            "pattern": "^[0-9]{5}$",
            "type": "string",
            "description": "Optional exact five-digit CMS issuer identifier."
          },
          "networkId": {
            "title": "Network ID",
            "type": "string",
            "description": "Optional exact CMS network identifier, used together with the selected state and other filters."
          },
          "networkName": {
            "title": "Network name contains",
            "type": "string",
            "description": "Optional case-insensitive match against the issuer-reported network name."
          },
          "maxResults": {
            "title": "Maximum unique records",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum issuer/base-plan/network records for this run. Repeated CSR variants are counted once.",
            "default": 100
          },
          "maxCostUsd": {
            "title": "Maximum result cost (USD)",
            "minimum": 0,
            "maximum": 100,
            "type": "number",
            "description": "Caps result events at $0.0045 each. The stricter Apify run spending limit also applies. Zero produces no paid records.",
            "default": 1
          },
          "validateNetworkUrls": {
            "title": "Check directory URL reachability",
            "type": "boolean",
            "description": "Check each unique public URL once with bounded redirects, timeout and retry. HTTP success does not verify providers, specialties or participation.",
            "default": true
          },
          "networkTimeoutSecs": {
            "title": "Directory-check timeout (seconds)",
            "minimum": 2,
            "maximum": 15,
            "type": "integer",
            "description": "Time budget per unique directory URL, including redirects and retry.",
            "default": 8
          },
          "checkSourceFreshness": {
            "title": "Check source release",
            "type": "boolean",
            "description": "Compare the pinned source release with the official CMS catalog and report any newer release. The Actor does not silently substitute another snapshot.",
            "default": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}