{
  "openapi": "3.0.1",
  "info": {
    "title": "Fixed Income Fund Ownership Tracker — SEC N-PORT",
    "description": "Who holds this bond — and who just bought or sold it? Reverse CUSIP/ISIN lookup across 12,000+ SEC-registered funds and ETFs via Form N-PORT, with fund tickers. Positions carry their true report period, not the filing date, and a matured bond is never counted as a sale.",
    "version": "1.0",
    "x-build-id": "xbVibJsZvcLtJobsN"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/integrative_tangent~fixed-income-fund-tracker/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-integrative_tangent-fixed-income-fund-tracker",
        "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/integrative_tangent~fixed-income-fund-tracker/runs": {
      "post": {
        "operationId": "runs-sync-integrative_tangent-fixed-income-fund-tracker",
        "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/integrative_tangent~fixed-income-fund-tracker/run-sync": {
      "post": {
        "operationId": "run-sync-integrative_tangent-fixed-income-fund-tracker",
        "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": "Search Mode",
            "enum": [
              "cusip_lookup",
              "isin_lookup",
              "issuer_search",
              "filter_issuer_category",
              "filter_asset_type",
              "concentration",
              "quarter_comparison",
              "period_comparison",
              "top_held",
              "fund_summary"
            ],
            "type": "string",
            "description": "What type of search to perform",
            "default": "cusip_lookup"
          },
          "quarter": {
            "title": "Quarter",
            "type": "string",
            "description": "Optional. Which quarterly N-PORT data set to use, e.g. 2026Q1. Leave empty to automatically use the most recent quarter published by the SEC (default, recommended). Available from 2019Q4 onward. The SEC publishes each quarter roughly 60 days after quarter-end."
          },
          "cusip": {
            "title": "CUSIP",
            "type": "string",
            "description": "9-character CUSIP identifier. Required for cusip_lookup, concentration, and quarter_comparison modes. Example: 037833BS8 (Apple Inc 3.85% 2043)"
          },
          "isin": {
            "title": "ISIN",
            "type": "string",
            "description": "12-character ISIN identifier. Required for isin_lookup mode. Example: US037833BS80"
          },
          "issuer_name": {
            "title": "Issuer Name",
            "type": "string",
            "description": "Issuer name to search (partial match supported). Required for issuer_search mode. Example: APPLE, JPMORGAN, CALIFORNIA"
          },
          "issuer_category": {
            "title": "Issuer Category",
            "enum": [
              "CORP",
              "UST",
              "AGEN",
              "AGSE",
              "MUN",
              "NUSS",
              "PF",
              "RF",
              "OTH"
            ],
            "type": "string",
            "description": "Filter by issuer type. Required for filter_issuer_category mode."
          },
          "asset_type": {
            "title": "Asset Type",
            "enum": [
              "DBT",
              "ABS-MBS",
              "ABS-CBDO",
              "ABS-ABCP",
              "ABS-O",
              "LON",
              "SN",
              "RA",
              "STIV"
            ],
            "type": "string",
            "description": "Filter by asset category. Required for filter_asset_type mode."
          },
          "series_id": {
            "title": "Fund Series ID",
            "type": "string",
            "description": "SEC Series ID for fund_summary mode. Example: S000002150 (Vanguard Total Bond Market)"
          },
          "previous_quarter": {
            "title": "Previous Quarter (for QoQ comparison)",
            "type": "string",
            "description": "Required for quarter_comparison mode. Format e.g. 2025Q4"
          },
          "maturity_start": {
            "title": "Maturity Start Date (optional filter)",
            "type": "string",
            "description": "Only include bonds maturing on or after this date. Format: YYYY-MM-DD"
          },
          "maturity_end": {
            "title": "Maturity End Date (optional filter)",
            "type": "string",
            "description": "Only include bonds maturing on or before this date. Format: YYYY-MM-DD"
          },
          "coupon_min": {
            "title": "Minimum Coupon Rate (optional filter)",
            "type": "number",
            "description": "Only include bonds with coupon rate >= this value. Example: 4.0"
          },
          "coupon_max": {
            "title": "Maximum Coupon Rate (optional filter)",
            "type": "number",
            "description": "Only include bonds with coupon rate <= this value. Example: 6.0"
          },
          "top_n": {
            "title": "Top N Results",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Number of results for top_held mode",
            "default": 50
          },
          "max_results": {
            "title": "Maximum Results",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Limit output to this many holdings (for filter modes)",
            "default": 500
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}