{
  "openapi": "3.0.1",
  "info": {
    "title": "JCR Scraper | Credit Ratings and Bonds",
    "description": "JCR scraper for Japan Credit Rating Agency (日本格付研究所): issuer ratings, outlooks, rating actions with the previous rating, and every rated bond with amount, issue date, maturity and coupon. 3 issuer codes return 48 ratings in 6 seconds, 32 fields each. Filter by sector, rating or date. No account.",
    "version": "1.0",
    "x-build-id": "24j8FcDeQzWHhFHAT"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/silentflow~jcr-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-silentflow-jcr-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/silentflow~jcr-scraper/runs": {
      "post": {
        "operationId": "runs-sync-silentflow-jcr-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/silentflow~jcr-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-silentflow-jcr-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": {
          "issuerIds": {
            "title": "🔢 Issuer codes",
            "type": "array",
            "description": "Issuers to read, one per line: the 4-character securities code JCR shows in its <b>Code</b> column (<code>9007</code> Odakyu Electric Railway, <code>8031</code> Mitsui &amp; Co., <code>7186</code> Yokohama Financial Group) or JCR's own code for issuers without one (<code>13150</code> San Miguel, <code>12051</code> United States). An issuer name or a jcr.co.jp issuer link works too. Every code returns all the ratings in force for that issuer, up to the limit below per code: a large bond issuer gives 20 rows or more. A code JCR does not rate is listed at the end of the log instead of a row.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "🔗 JCR links",
            "type": "array",
            "description": "Links copied from jcr.co.jp, in Japanese or English:<ul><li>an issuer page, <code>https://www.jcr.co.jp/en/ratinglist/corp/9007</code></li><li>a rating release, <code>https://www.jcr.co.jp/download/…/26d1092.pdf</code>, which returns every rating it announces</li><li>a rating list or search page, <code>https://www.jcr.co.jp/ratinglist/finance?m=search&amp;o=1</code></li><li>a news release search, <code>https://www.jcr.co.jp/release/?f=2026-11-01&amp;t=2026-11-30</code></li></ul>",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "maxItems": {
            "title": "💯 Max ratings",
            "minimum": 1,
            "type": "integer",
            "description": "Most rows to return for each issuer code or link, and in total for a list search or a period of rating actions. A code always returns its long-term issuer rating first, so <code>1</code> gives one headline row per issuer.",
            "default": 100
          },
          "keyword": {
            "title": "🔎 Issuer name",
            "type": "string",
            "description": "Part of an issuer name, in Japanese or English: <code>銀行</code>, <code>Toyota</code>, <code>Holdings</code>. With dates below, it narrows the rating actions instead."
          },
          "category": {
            "title": "🗂️ Category",
            "enum": [
              "corporates",
              "financial",
              "public",
              "jreit",
              "sovereign"
            ],
            "type": "string",
            "description": "One of JCR's rating lists: corporates, financial institutions, public sector, investment corporations (J-REIT), or sovereigns with supranationals. Left empty, every list is read."
          },
          "sector": {
            "title": "🏭 Sector",
            "enum": [
              "Fishery, Agriculture & Forestry",
              "Mining",
              "Construction",
              "Foods",
              "Textiles & Apparels",
              "Pulp & Paper",
              "Chemicals",
              "Pharmaceutical",
              "Oil & Coal Products",
              "Rubber Products",
              "Glass & Ceramics Products",
              "Iron & Steel",
              "Nonferrous Metals",
              "Metal Products",
              "Machinery",
              "Electric Appliances",
              "Transportation Equipment",
              "Precision Instruments",
              "Other Products",
              "Electric Power & Gas",
              "Land Transportation",
              "Marine Transportation",
              "Air Transportation",
              "Warehousing & Harbor Transportation Services",
              "Information & Communication",
              "Wholesale Trade",
              "Retail Trade",
              "Banks",
              "Securities & Commodity Futures",
              "Insurance",
              "Other Financing Business",
              "Real Estate",
              "Services",
              "Public Sector",
              "Structured Finance",
              "Investment Corporation",
              "Sovereign",
              "Supranationals",
              "Nonresident (Foreign Corporation)",
              "Nonresident (Overseas subsidiary of Japanese Corporation)",
              "Servicer"
            ],
            "type": "string",
            "description": "One of JCR's 41 sectors (the 33 Tokyo Stock Exchange sectors plus public sector, J-REIT, sovereign and non-resident issuers): <b>Banks</b>, <b>Real Estate</b>, <b>Land Transportation</b>. Left empty, every sector."
          },
          "rating": {
            "title": "⭐ Rating",
            "enum": [
              "AAA",
              "AA+",
              "AA",
              "AA-",
              "A+",
              "A",
              "A-",
              "BBB+",
              "BBB",
              "BBB-",
              "BB+",
              "BB",
              "BB-",
              "B+",
              "B",
              "B-",
              "CCC",
              "CC",
              "C",
              "LD",
              "D",
              "J-1+",
              "J-1",
              "J-2",
              "J-3",
              "NJ"
            ],
            "type": "string",
            "description": "Issuers rated exactly this: a long-term symbol from <code>AAA</code> to <code>D</code>, or a short-term one from <code>J-1+</code> to <code>NJ</code>. Left empty, every rating."
          },
          "outlook": {
            "title": "🧭 Outlook",
            "enum": [
              "positive",
              "stable",
              "negative",
              "developing",
              "multiple"
            ],
            "type": "string",
            "description": "Issuers whose long-term rating carries this outlook. <b>Positive</b> and <b>Negative</b> flag the issuers most likely to move next. Left empty, every outlook."
          },
          "dateFrom": {
            "title": "📅 From",
            "type": "string",
            "description": "First day of the period, <code>2026-11-01</code>, or a relative value such as <code>7 days</code> for a daily or weekly watch. JCR publishes rating actions several times a week."
          },
          "dateTo": {
            "title": "📅 To",
            "type": "string",
            "description": "Last day of the period, <code>2026-11-30</code>. Left empty, the period runs to today."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}