> For the complete documentation index, see [llms.txt](https://docs.stackai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stackai.com/integrations/catalog/s-and-p-global.md).

# S\&P Global

Connect to S\&P Global to get financial data.

## Connectors

Choose the connector that matches your authentication method. The options below use the names shown in StackAI.

| Connector   | Authentication |
| ----------- | -------------- |
| S\&P Global | Credentials    |

### S\&P Global

Connect to S\&P Global to get financial data.

#### Set up in S\&P Global

1. Obtain your S\&P Global API credentials from your S\&P Global account representative or the enterprise API support team.

#### Set up in StackAI

1. Open **Settings → Connections**, add a connection, and select **S\&P Global**.
2. Enter the credentials and connection details in the fields below.
3. Save the connection and check its connection status. Select this saved connection when configuring an action or feature that uses it.

**Connection fields**

| StackAI field | Required | What to enter                                                 |
| ------------- | -------- | ------------------------------------------------------------- |
| Username      | Yes      | Your S\&P Global username used to log into the web interface. |
| Password      | Yes      | Your S\&P Global password.                                    |

**Provider documentation:** [Setup reference](https://www.spglobal.com/market-intelligence/en/solutions/products/enterprise-data-management).

### Verify the connection

Check that the connection is healthy. Then run a read operation against a resource the connected account can access. A successful connection check confirms authentication; it does not guarantee permission for every action.

If access is denied, check the credential or OAuth permissions, the selected account or environment, and access to the specific resource. Update expired credentials or reconnect after permissions change.

## Use an action

1. Add the required **S\&P Global** action to the workflow.
2. Select a connection when the action requests one.
3. Complete the required fields. Use the reference picker when a value comes from another workflow step.
4. Run the workflow and inspect the action’s output. Check the result before using it in a later step.

## Actions

### Get S\&P Global Ratings Insurer Financial Enhancement Ratings

This endpoint provides S\&P Global Ratings insurer financial enhancement rating, rating date, creditwatch/outlook, creditwatch/outlook date and last review date for the requested group of Entities. Point in Time and Historical ratings can be retrieved by passing identifier or list of identifiers along with input parameters (asOfdate, startDate and endDate). Specify asOfDate to pull ratings as of a particular date. If not provided, latest rating will be returned. Below mandatory parameters must be provided: identifierType with identifierValues (with or without asOfDate) identifierType with identifierValues (with or without startDate and endDate)

#### Inputs

| Field                  | Type          | Required | Description                                                                                                                                                                                        |
| ---------------------- | ------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Identifiertype         | string        | No       | Refers to the type of identifier that uniquely identifies an entity or instrument. Default: RXENTITYID.                                                                                            |
| Identifiervalues       | string\_array | No       | Identifier value is used to identify a unique entity or instrument. Please provide an identifier or a list of identifiers separated by a comma. You can pass up to 100 identifiers in one request. |
| Currency               | string        | No       | Choose to retrieve foreign currency ratings or local currency ratings. If not specified, both ratings will be retrieved.                                                                           |
| Term                   | string        | No       | Choose to retrieve short-term or long-term ratings. If not specified, both ratings will be retrieved.                                                                                              |
| Asofdate               | string        | No       | Include a specific date for point in time data requests as YYYY-MM-DD.                                                                                                                             |
| Startdate              | string        | No       | Include a beginning date for historical data requests as YYYY-MM-DD.                                                                                                                               |
| Enddate                | string        | No       | Include an end date for historical data requests as YYYY-MM-DD. If the end date is not specified, the current date is considered to be the end date.                                               |
| Page                   | integer       | No       | The requested page number. Default: 1.                                                                                                                                                             |
| Pagesize               | integer       | No       | The requested number of results per page. Max: 50. Default: 50.                                                                                                                                    |
| Generatedriveinputfile | string        | No       | Indicate "yes" to generate a sample API Drive input file. A "Download file" hyperlink will appear in the response. If no filter is passed, the JSON response will be displayed.                    |

#### Outputs

| Field       | Type    | Description                  |
| ----------- | ------- | ---------------------------- |
| Status Code | integer | Status code of the response. |
| Headers     | dict    | Headers of the response.     |
| Body        | object  | Body of the response.        |

### Get S\&P Global Ratings Insurer Financial Enhancement Ratings

This endpoint provides S\&P Global Ratings insurer financial enhancement rating, rating date, creditwatch/outlook, creditwatch/outlook date and last review date for the requested group of Entities. Point in Time and Historical ratings can be retrieved by passing identifier or list of identifiers along with input parameters (asOfdate, startDate and endDate). Specify asOfDate to pull ratings as of a particular date. If not provided, latest rating will be returned. Below mandatory parameters must be provided: identifierType with identifierValues (with or without asOfDate) identifierType with identifierValues (with or without startDate and endDate)

#### Inputs

| Field        | Type   | Required | Description |
| ------------ | ------ | -------- | ----------- |
| Request Body | object | No       |             |

#### Outputs

| Field       | Type    | Description                  |
| ----------- | ------- | ---------------------------- |
| Status Code | integer | Status code of the response. |
| Headers     | dict    | Headers of the response.     |
| Body        | object  | Body of the response.        |

### Get S\&P Global Ratings Insurer Financial Strength Ratings

This endpoint provides S\&P Global Ratings insurer financial strength rating, rating date, creditwatch/outlook, creditwatch/outlook date and last review date for the requested group of Entities. Point in Time and Historical ratings can be retrieved by passing identifier or list of identifiers along with input parameters (asOfdate, startDate and endDate). Specify asOfDate to pull ratings as of a particular date. If not provided, latest rating will be returned. Below mandatory parameters must be provided: identifierType with identifierValues (with or without asOfDate) identifierType with identifierValues (with or without startDate and endDate)

#### Inputs

| Field                  | Type          | Required | Description                                                                                                                                                                                        |
| ---------------------- | ------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Identifiertype         | string        | No       | Refers to the type of identifier that uniquely identifies an entity or instrument. Default: RXENTITYID.                                                                                            |
| Identifiervalues       | string\_array | No       | Identifier value is used to identify a unique entity or instrument. Please provide an identifier or a list of identifiers separated by a comma. You can pass up to 100 identifiers in one request. |
| Currency               | string        | No       | Choose to retrieve foreign currency ratings or local currency ratings. If not specified, both ratings will be retrieved.                                                                           |
| Term                   | string        | No       | Choose to retrieve short-term or long-term ratings. If not specified, both ratings will be retrieved.                                                                                              |
| Asofdate               | string        | No       | Include a specific date for point in time data requests as YYYY-MM-DD.                                                                                                                             |
| Startdate              | string        | No       | Include a beginning date for historical data requests as YYYY-MM-DD.                                                                                                                               |
| Enddate                | string        | No       | Include an end date for historical data requests as YYYY-MM-DD. If the end date is not specified, the current date is considered to be the end date.                                               |
| Page                   | integer       | No       | The requested page number. Default: 1.                                                                                                                                                             |
| Pagesize               | integer       | No       | The requested number of results per page. Max: 50. Default: 50.                                                                                                                                    |
| Generatedriveinputfile | string        | No       | Indicate "yes" to generate a sample API Drive input file. A "Download file" hyperlink will appear in the response. If no filter is passed, the JSON response will be displayed.                    |

#### Outputs

| Field       | Type    | Description                  |
| ----------- | ------- | ---------------------------- |
| Status Code | integer | Status code of the response. |
| Headers     | dict    | Headers of the response.     |
| Body        | object  | Body of the response.        |

### Get S\&P Global Ratings Insurer Financial Strength Ratings

This endpoint provides S\&P Global Ratings insurer financial strength rating, rating date, creditwatch/outlook, creditwatch/outlook date and last review date for the requested group of Entities. Point in Time and Historical ratings can be retrieved by passing identifier or list of identifiers along with input parameters (asOfdate, startDate and endDate). Specify asOfDate to pull ratings as of a particular date. If not provided, latest rating will be returned. Below mandatory parameters must be provided: identifierType with identifierValues (with or without asOfDate) identifierType with identifierValues (with or without startDate and endDate)

#### Inputs

| Field        | Type   | Required | Description |
| ------------ | ------ | -------- | ----------- |
| Request Body | object | No       |             |

#### Outputs

| Field       | Type    | Description                  |
| ----------- | ------- | ---------------------------- |
| Status Code | integer | Status code of the response. |
| Headers     | dict    | Headers of the response.     |
| Body        | object  | Body of the response.        |

### Get S\&P Global Ratings Issue Credit Ratings

This endpoint provides S\&P Global (Global and National scale) issue credit rating, rating date, creditwatch/outlook, creditwatch/outlook date and last review date for the requested group of instruments/securities. Point in Time and Historical ratings can be retrieved by passing identifier or list of identifiers along with input parameters (asOfdate, startDate and endDate). Specify asOfDate to pull ratings as of a particular date. If not provided, latest rating will be returned. Below mandatory parameters must be provided: identifierType with identifierValues (with or without asOfDate) identifierType with identifierValues (with or without startDate and endDate)

#### Inputs

| Field                  | Type          | Required | Description                                                                                                                                                                                        |
| ---------------------- | ------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Identifiertype         | string        | No       | Refers to the type of identifier that uniquely identifies an entity or instrument. Default: RXMATURITYID.                                                                                          |
| Identifiervalues       | string\_array | No       | Identifier value is used to identify a unique entity or instrument. Please provide an identifier or a list of identifiers separated by a comma. You can pass up to 100 identifiers in one request. |
| Scale                  | string        | No       | Please use this filter with the value "National" to retrieve just the National Scale Ratings. If not provided in the request, global and national scale ratings will be provided in the response.  |
| Currency               | string        | No       | Choose to retrieve foreign currency ratings or local currency ratings. If not specified, both ratings will be retrieved.                                                                           |
| Term                   | string        | No       | Choose to retrieve short-term or long-term ratings. If not specified, both ratings will be retrieved.                                                                                              |
| Asofdate               | string        | No       | Include a specific date for point in time data requests as YYYY-MM-DD.                                                                                                                             |
| Startdate              | string        | No       | Include a beginning date for historical data requests as YYYY-MM-DD.                                                                                                                               |
| Enddate                | string        | No       | Include an end date for historical data requests as YYYY-MM-DD. If the end date is not specified, the current date is considered to be the end date.                                               |
| Page                   | integer       | No       | The requested page number. Default: 1.                                                                                                                                                             |
| Pagesize               | integer       | No       | The requested number of results per page. Max: 50.                                                                                                                                                 |
| Generatedriveinputfile | string        | No       | Indicate "yes" to generate a sample API Drive input file. A "Download file" hyperlink will appear in the response. If no filter is passed, the JSON response will be displayed.                    |

#### Outputs

| Field       | Type    | Description                  |
| ----------- | ------- | ---------------------------- |
| Status Code | integer | Status code of the response. |
| Headers     | dict    | Headers of the response.     |
| Body        | object  | Body of the response.        |

### Get S\&P Global Ratings Issue Credit Ratings

This endpoint provides S\&P Global (Global and National scale) issue credit rating, rating date, creditwatch/outlook, creditwatch/outlook date and last review date for the requested group of instruments/securities. Point in Time and Historical ratings can be retrieved by passing identifier or list of identifiers along with input parameters (asOfdate, startDate and endDate). Specify asOfDate to pull ratings as of a particular date. If not provided, latest rating will be returned. Below mandatory parameters must be provided: identifierType with identifierValues (with or without asOfDate) identifierType with identifierValues (with or without startDate and endDate)

#### Inputs

| Field        | Type   | Required | Description |
| ------------ | ------ | -------- | ----------- |
| Request Body | object | No       |             |

#### Outputs

| Field       | Type    | Description                  |
| ----------- | ------- | ---------------------------- |
| Status Code | integer | Status code of the response. |
| Headers     | dict    | Headers of the response.     |
| Body        | object  | Body of the response.        |

### Get S\&P Ratings Instrument- Or Security-Level Data

This endpoint provides rxMaturityIds, Instrument Id, Instrument Name, and the issuing rxEntityIds, Entity Legal Names coverage by S\&P Ratings. At least one of the below filters must be provided: • sectors • subSectors • industries • regions • countries

#### Inputs

| Field                  | Type          | Required | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| ---------------------- | ------------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Sectors                | string\_array | No       | Refers to the division of the market by type of issuer. Please provide a sector code. **GLOBISS** - Global Issuers, **STRUC** - Structured Finance, **PUBFIN** - Public Finance (U.S.), **INFRA** - Infrastructure.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| Subsectors             | string\_array | No       | Refers to the subdivision of the sectors. For example, included under the Structured Finance (STRUC) sector, are the subsectors: Asset-Backed Securities (ABS), Residential Mortgage-Backed Securities (RMBS) etc. Please provide a sub sector code or a list of codes separated by a comma. One can pass up to 20 sub sector codes in one request. **GLOBISS** sector contains **CORP** (Corporations), **FI** (Financial Institutions), **GOVS** (International Public Finance), **INS** (Insurance), **LEVFIN** (Leveraged Finance), **PROJFIN** (Project Finance), **SOV** (Sovereigns), **SOVR** (Sovereign Related), **UTIL** (Utilities). **STRUC** sector contains **ABCP** (Asset-Backed Commercial Paper), **ABS** (Asset-Backed Securities), **CDO** (Structured Credit), **CMBS** (Commercial Mortgage-Backed Securities), **REC** (Real Estate Companies), **RMBS** (Residential Mortgage-Backed Securities), **SE** (Servicer Evaluations). **PUBFIN** sector contains PUBFIN (Public Finance (U.S.)). **INFRA** sector contains **IFIPF** (International Public Finance), **IFOG** (Energy and Oil & Gas), **IFOTHER** (Other Infrastructure Entities), **IFP** (Power Generation and Transmission), **IFPJD** (Project Developers), **IFSOC** (Social), **IFTR** (Transportation), **IFU** (Utilities). **Possible values :** CORP, FI, GOVS, INS, LEVFIN, PROJFIN, SOV, SOVR, UTIL, ABCP, ABS, CDO, CMBS, REC, RMBS, SE, PUBFIN, IFIPF, IFOG, IFOTHER, IFP, IFPJD, IFSOC, IFTR, IFU **Example:** FI. |
| Industrycategorytype   | string        | No       | Refers to the type of industry classification code; Please specify either **NAICS** - North American Industry Classification System or **SIC** - Standard Industrial Classification or **GICS** - Global Industry Classification Standard. You will be able to filter using GICS code only if you have the corresponding GICS capability activated in your subscription. If you wish to update your subscription, please reach out to your account representative/Enterprise API Support <support.api.mi@spglobal.com>.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| Industries             | string\_array | No       | Refers to 6-digit NAICS code or 4-digit SIC code or 8-digit GICS code. Please provide an industry code or a list of codes separated by a comma. One can pass up to 20 industries in one request. See all possible values in the Reference endpoint. **Example:** **6021** for National Commercial Banks **111110** for North American Industry Classification System **10102020** for Global Industry Classification Standard.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| Regions                | string\_array | No       | Refers to the region code where the entity's domicile of incorporation is located. Please provide a region code. **EUROMIDAFR** (Europe, Middle East, Africa), **LATAMERICA** (Latin America), **ASIAPAC** (Asia-Pacific), **USA** (United States), **CAN** (Canada), **AUSNZ** (Australia/New Zealand), **EMERGING** (Emerging Markets) **Possible values :** EUROMIDAFR, LATAMERICA, ASIAPAC, USA, CAN, AUSNZ, EMERGING **Example:** EMERGING.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| Countries              | string\_array | No       | Refers to the country code where the entity's domicile of incorporation is located.Please provide a country code or a list of codes separated by a comma. One can pass up to 20 countries in one request. See all possible values in the Reference endpoint. **Example:** HKG, KOR.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| Scale                  | string        | No       | Please use this filter with the value "National" to retrieve just the National Scale Coverage. If not provided in the request, global and national scale ratings will be provided in the response.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| Page                   | integer       | No       | The requested page number. Default: 1.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| Pagesize               | integer       | No       | The requested number of results per page. Max: 50.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| Generatedriveinputfile | string        | No       | Indicate "yes" to generate a sample API Drive input file. A "Download file" hyperlink will appear in the response. If no filter is passed, the JSON response will be displayed.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |

#### Outputs

| Field       | Type    | Description                  |
| ----------- | ------- | ---------------------------- |
| Status Code | integer | Status code of the response. |
| Headers     | dict    | Headers of the response.     |
| Body        | object  | Body of the response.        |

### Get S\&P Ratings Instrument- Or Security-Level Data

This endpoint provides rxMaturityIds, Instrument Id, Instrument Name, and the issuing rxEntityIds, Entity Legal Names coverage by S\&P Ratings. At least one of the below filters must be provided: • sectors • subSectors • industries • regions • countries

#### Inputs

| Field        | Type   | Required | Description |
| ------------ | ------ | -------- | ----------- |
| Request Body | object | No       |             |

#### Outputs

| Field       | Type    | Description                  |
| ----------- | ------- | ---------------------------- |
| Status Code | integer | Status code of the response. |
| Headers     | dict    | Headers of the response.     |
| Body        | object  | Body of the response.        |

### Get S\&P Global Ratings Issuer Credit Ratings

This endpoint provides S\&P Global (Global and National scale) issuer credit rating, rating date, creditwatch/outlook, creditwatch/outlook date and last review date for the requested group of Entities. Point in Time and Historical ratings can be retrieved by passing identifier or list of identifiers along with input parameters (asOfdate, startDate and endDate). Specify asOfDate to pull ratings as of a particular date. If not provided, latest rating will be returned. Below mandatory parameters must be provided: identifierType with identifierValues (with or without asOfDate) identifierType with identifierValues (with or without startDate and endDate)

#### Inputs

| Field                  | Type          | Required | Description                                                                                                                                                                                        |
| ---------------------- | ------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Identifiertype         | string        | No       | Refers to the type of identifier that uniquely identifies an entity or instrument. Default: RXENTITYID.                                                                                            |
| Identifiervalues       | string\_array | No       | Identifier value is used to identify a unique entity or instrument. Please provide an identifier or a list of identifiers separated by a comma. You can pass up to 100 identifiers in one request. |
| Scale                  | string        | No       | Please use this filter with the value "National" to retrieve just the National Scale Ratings. If not provided in the request, global and national scale ratings will be provided in the response.  |
| Currency               | string        | No       | Choose to retrieve foreign currency ratings or local currency ratings. If not specified, both ratings will be retrieved.                                                                           |
| Term                   | string        | No       | Choose to retrieve short-term or long-term ratings. If not specified, both ratings will be retrieved.                                                                                              |
| Asofdate               | string        | No       | Include a specific date for point in time data requests as YYYY-MM-DD.                                                                                                                             |
| Startdate              | string        | No       | Include a beginning date for historical data requests as YYYY-MM-DD.                                                                                                                               |
| Enddate                | string        | No       | Include an end date for historical data requests as YYYY-MM-DD. If the end date is not specified, the current date is considered to be the end date.                                               |
| Page                   | integer       | No       | The requested page number. Default: 1.                                                                                                                                                             |
| Pagesize               | integer       | No       | The requested number of results per page. Max: 50.                                                                                                                                                 |
| Generatedriveinputfile | string        | No       | Indicate "yes" to generate a sample API Drive input file. A "Download file" hyperlink will appear in the response. If no filter is passed, the JSON response will be displayed.                    |

#### Outputs

| Field       | Type    | Description                  |
| ----------- | ------- | ---------------------------- |
| Status Code | integer | Status code of the response. |
| Headers     | dict    | Headers of the response.     |
| Body        | object  | Body of the response.        |

### Get S\&P Global Ratings Issuer Credit Ratings

This endpoint provides S\&P Global (Global and National scale) issuer credit rating, rating date, creditwatch/outlook, creditwatch/outlook date and last review date for the requested group of Entities. Point in Time and Historical ratings can be retrieved by passing identifier or list of identifiers along with input parameters (asOfdate, startDate and endDate). Specify asOfDate to pull ratings as of a particular date. If not provided, latest rating will be returned. Below mandatory parameters must be provided: identifierType with identifierValues (with or without asOfDate) identifierType with identifierValues (with or without startDate and endDate)

#### Inputs

| Field        | Type   | Required | Description |
| ------------ | ------ | -------- | ----------- |
| Request Body | object | No       |             |

#### Outputs

| Field       | Type    | Description                  |
| ----------- | ------- | ---------------------------- |
| Status Code | integer | Status code of the response. |
| Headers     | dict    | Headers of the response.     |
| Body        | object  | Body of the response.        |

### Get S\&P Ratings Entity-Level Data

This endpoint provides rxEntityIds and Entity Legal Names coverage by S\&P Ratings. At least one of the below filters must be provided: • sectors • subSectors • industries • regions • countries

#### Inputs

| Field                  | Type          | Required | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| ---------------------- | ------------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Sectors                | string\_array | No       | Refers to the division of the market by type of issuer. Please provide a sector code. **GLOBISS** - Global Issuers, **STRUC** - Structured Finance, **PUBFIN** - Public Finance (U.S.), **INFRA** - Infrastructure.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| Subsectors             | string\_array | No       | Refers to the subdivision of the sectors. For example, included under the Structured Finance (STRUC) sector, are the subsectors: Asset-Backed Securities (ABS), Residential Mortgage-Backed Securities (RMBS) etc. Please provide a sub sector code or a list of codes separated by a comma. One can pass up to 20 sub sector codes in one request. **GLOBISS** sector contains **CORP** (Corporations), **FI** (Financial Institutions), **GOVS** (International Public Finance), **INS** (Insurance), **LEVFIN** (Leveraged Finance), **PROJFIN** (Project Finance), **SOV** (Sovereigns), **SOVR** (Sovereign Related), **UTIL** (Utilities). **STRUC** sector contains **ABCP** (Asset-Backed Commercial Paper), **ABS** (Asset-Backed Securities), **CDO** (Structured Credit), **CMBS** (Commercial Mortgage-Backed Securities), **REC** (Real Estate Companies), **RMBS** (Residential Mortgage-Backed Securities), **SE** (Servicer Evaluations). **PUBFIN** sector contains PUBFIN (Public Finance (U.S.)). **INFRA** sector contains **IFIPF** (International Public Finance), **IFOG** (Energy and Oil & Gas), **IFOTHER** (Other Infrastructure Entities), **IFP** (Power Generation and Transmission), **IFPJD** (Project Developers), **IFSOC** (Social), **IFTR** (Transportation), **IFU** (Utilities). **Possible values :** CORP, FI, GOVS, INS, LEVFIN, PROJFIN, SOV, SOVR, UTIL, ABCP, ABS, CDO, CMBS, REC, RMBS, SE, PUBFIN, IFIPF, IFOG, IFOTHER, IFP, IFPJD, IFSOC, IFTR, IFU **Example:** FI. |
| Industrycategorytype   | string        | No       | Refers to the type of industry classification code; Please specify either **NAICS** - North American Industry Classification System or **SIC** - Standard Industrial Classification or **GICS** - Global Industry Classification Standard. You will be able to filter using GICS code only if you have the corresponding GICS capability activated in your subscription. If you wish to update your subscription, please reach out to your account representative/Enterprise API Support <support.api.mi@spglobal.com>.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| Industries             | string\_array | No       | Refers to 6-digit NAICS code or 4-digit SIC code or 8-digit GICS code. Please provide an industry code or a list of codes separated by a comma. One can pass up to 20 industries in one request. See all possible values in the Reference endpoint. **Example:** **6021** for National Commercial Banks **111110** for North American Industry Classification System **10102020** for Global Industry Classification Standard.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| Regions                | string\_array | No       | Refers to the region code where the entity's domicile of incorporation is located. Please provide a region code. **EUROMIDAFR** (Europe, Middle East, Africa), **LATAMERICA** (Latin America), **ASIAPAC** (Asia-Pacific), **USA** (United States), **CAN** (Canada), **AUSNZ** (Australia/New Zealand), **EMERGING** (Emerging Markets) **Possible values :** EUROMIDAFR, LATAMERICA, ASIAPAC, USA, CAN, AUSNZ, EMERGING **Example:** EMERGING.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| Countries              | string\_array | No       | Refers to the country code where the entity's domicile of incorporation is located.Please provide a country code or a list of codes separated by a comma. One can pass up to 20 countries in one request. See all possible values in the Reference endpoint. **Example:** HKG, KOR.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| Scale                  | string        | No       | Please use this filter with the value "National" to retrieve just the National Scale Coverage. If not provided in the request, global and national scale ratings will be provided in the response.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| Ratingtype             | string        | No       | Please use this filter to retrieve entities with financial strength ratings or financial enhancement ratings coverage.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| Page                   | integer       | No       | The requested page number. Default: 1.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| Pagesize               | integer       | No       | The requested number of results per page. Max: 50.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| Generatedriveinputfile | string        | No       | Indicate "yes" to generate a sample API Drive input file. A "Download file" hyperlink will appear in the response. If no filter is passed, the JSON response will be displayed.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |

#### Outputs

| Field       | Type    | Description                  |
| ----------- | ------- | ---------------------------- |
| Status Code | integer | Status code of the response. |
| Headers     | dict    | Headers of the response.     |
| Body        | object  | Body of the response.        |

### Get S\&P Ratings Entity-Level Data

This endpoint provides rxEntityIds and Entity Legal Names coverage by S\&P Ratings. At least one of the below filters must be provided: • sectors • subSectors • industries • regions • countries

#### Inputs

| Field        | Type   | Required | Description |
| ------------ | ------ | -------- | ----------- |
| Request Body | object | No       |             |

#### Outputs

| Field       | Type    | Description                  |
| ----------- | ------- | ---------------------------- |
| Status Code | integer | Status code of the response. |
| Headers     | dict    | Headers of the response.     |
| Body        | object  | Body of the response.        |

### Get S\&P Global Ratings Program-Level Ratings

This endpoint provides program details - Instrument ID, Instrument Name, Program Type Code, Program Debt Type Code, Rating, Rating date for for the requested group of Entities. Historical ratings can be retrieved by passing identifier or list of identifiers along with input parameters (asOfdate, startDate and endDate). If not provided, latest rating will be returned. Below mandatory parameters must be provided: identifierType with identifierValues (with or without startDate/endDate)

#### Inputs

| Field                  | Type          | Required | Description                                                                                                                                                                                       |
| ---------------------- | ------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Identifiertype         | string        | No       | Refers to the type of identifier that uniquely identifies an entity or instrument. Default: CUSIP6.                                                                                               |
| Identifiervalues       | string\_array | No       | Identifier value is used to identify a unique entity or instrument. Please provide an identifier or a list of identifiers separated by a comma. You can pass up to 20 identifiers in one request. |
| Currency               | string        | No       | Choose to retrieve foreign currency ratings or local currency ratings. If not specified, both ratings will be retrieved.                                                                          |
| Term                   | string        | No       | Choose to retrieve short-term or long-term ratings. If not specified, both ratings will be retrieved.                                                                                             |
| Startdate              | string        | No       | Include a beginning date for historical data requests as YYYY-MM-DD.                                                                                                                              |
| Enddate                | string        | No       | Include an end date for historical data requests as YYYY-MM-DD. If the end date is not specified, the current date is considered to be the end date.                                              |
| Page                   | integer       | No       | The requested page number. Default: 1.                                                                                                                                                            |
| Pagesize               | integer       | No       | The requested number of results per page. Max: 50. Default: 50.                                                                                                                                   |
| Generatedriveinputfile | string        | No       | Indicate "yes" to generate a sample API Drive input file. A "Download file" hyperlink will appear in the response. If no filter is passed, the JSON response will be displayed.                   |

#### Outputs

| Field       | Type    | Description                  |
| ----------- | ------- | ---------------------------- |
| Status Code | integer | Status code of the response. |
| Headers     | dict    | Headers of the response.     |
| Body        | object  | Body of the response.        |

### Get S\&P Global Ratings Program-Level Ratings

This endpoint provides program details - Instrument ID, Instrument Name, Program Type Code, Program Debt Type Code, Rating, Rating date for for the requested group of Entities. Historical ratings can be retrieved by passing identifier or list of identifiers along with input parameters (asOfdate, startDate and endDate). If not provided, latest rating will be returned. Below mandatory parameters must be provided: identifierType with identifierValues (with or without startDate/endDate)

#### Inputs

| Field        | Type   | Required | Description |
| ------------ | ------ | -------- | ----------- |
| Request Body | object | No       |             |

#### Outputs

| Field       | Type    | Description                  |
| ----------- | ------- | ---------------------------- |
| Status Code | integer | Status code of the response. |
| Headers     | dict    | Headers of the response.     |
| Body        | object  | Body of the response.        |

### Reference

The Reference endpoint defines all the valid input values applicable for the below input parameters : industries countries sectors You will be able to filter using GICS code only if you have the corresponding GICS capability activated in your subscription. If you wish to update your subscription, please reach out to your account representative/Enterprise API Support <support.api.mi@spglobal.com>.

#### Inputs

| Field          | Type   | Required | Description                                              |
| -------------- | ------ | -------- | -------------------------------------------------------- |
| Inputparameter | string | Yes      | Acceptable values for the relevant API input parameters. |

#### Outputs

| Field       | Type    | Description                  |
| ----------- | ------- | ---------------------------- |
| Status Code | integer | Status code of the response. |
| Headers     | dict    | Headers of the response.     |
| Body        | object  | Body of the response.        |

### Get S\&P Global Ratings Insurer Financial Enhancement Ratings

This endpoint provides S\&P Global Ratings insurer financial enhancement rating, rating date, creditwatch/outlook, creditwatch/outlook date and last review date for the requested group of Entities. Point in Time and Historical ratings can be retrieved by passing identifier or list of identifiers along with input parameters (asOfdate, startDate and endDate). Specify asOfDate to pull ratings as of a particular date. If not provided, latest rating will be returned. Below mandatory parameters must be provided: identifierType with identifierValues (with or without asOfDate) identifierType with identifierValues (with or without startDate and endDate)

#### Inputs

| Field                  | Type          | Required | Description                                                                                                                                                                                        |
| ---------------------- | ------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Identifiertype         | string        | No       | Refers to the type of identifier that uniquely identifies an entity or instrument. Default: RXENTITYID.                                                                                            |
| Identifiervalues       | string\_array | No       | Identifier value is used to identify a unique entity or instrument. Please provide an identifier or a list of identifiers separated by a comma. You can pass up to 100 identifiers in one request. |
| Currency               | string        | No       | Choose to retrieve foreign currency ratings or local currency ratings. If not specified, both ratings will be retrieved.                                                                           |
| Term                   | string        | No       | Choose to retrieve short-term or long-term ratings. If not specified, both ratings will be retrieved.                                                                                              |
| Asofdate               | string        | No       | Include a specific date for point in time data requests as YYYY-MM-DD.                                                                                                                             |
| Startdate              | string        | No       | Include a beginning date for historical data requests as YYYY-MM-DD.                                                                                                                               |
| Enddate                | string        | No       | Include an end date for historical data requests as YYYY-MM-DD. If the end date is not specified, the current date is considered to be the end date.                                               |
| Page                   | integer       | No       | The requested page number. Default: 1.                                                                                                                                                             |
| Pagesize               | integer       | No       | The requested number of results per page. Max: 50. Default: 50.                                                                                                                                    |
| Generatedriveinputfile | string        | No       | Indicate "yes" to generate a sample API Drive input file. A "Download file" hyperlink will appear in the response. If no filter is passed, the JSON response will be displayed.                    |

#### Outputs

| Field       | Type    | Description                  |
| ----------- | ------- | ---------------------------- |
| Status Code | integer | Status code of the response. |
| Headers     | dict    | Headers of the response.     |
| Body        | object  | Body of the response.        |

### Get S\&P Global Ratings Insurer Financial Enhancement Ratings

This endpoint provides S\&P Global Ratings insurer financial enhancement rating, rating date, creditwatch/outlook, creditwatch/outlook date and last review date for the requested group of Entities. Point in Time and Historical ratings can be retrieved by passing identifier or list of identifiers along with input parameters (asOfdate, startDate and endDate). Specify asOfDate to pull ratings as of a particular date. If not provided, latest rating will be returned. Below mandatory parameters must be provided: identifierType with identifierValues (with or without asOfDate) identifierType with identifierValues (with or without startDate and endDate)

#### Inputs

| Field        | Type   | Required | Description |
| ------------ | ------ | -------- | ----------- |
| Request Body | object | No       |             |

#### Outputs

| Field       | Type    | Description                  |
| ----------- | ------- | ---------------------------- |
| Status Code | integer | Status code of the response. |
| Headers     | dict    | Headers of the response.     |
| Body        | object  | Body of the response.        |

### Get S\&P Global Ratings Insurer Financial Strength Ratings

This endpoint provides S\&P Global Ratings insurer financial strength rating, rating date, creditwatch/outlook, creditwatch/outlook date and last review date for the requested group of Entities. Point in Time and Historical ratings can be retrieved by passing identifier or list of identifiers along with input parameters (asOfdate, startDate and endDate). Specify asOfDate to pull ratings as of a particular date. If not provided, latest rating will be returned. Below mandatory parameters must be provided: identifierType with identifierValues (with or without asOfDate) identifierType with identifierValues (with or without startDate and endDate)

#### Inputs

| Field                  | Type          | Required | Description                                                                                                                                                                                        |
| ---------------------- | ------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Identifiertype         | string        | No       | Refers to the type of identifier that uniquely identifies an entity or instrument. Default: RXENTITYID.                                                                                            |
| Identifiervalues       | string\_array | No       | Identifier value is used to identify a unique entity or instrument. Please provide an identifier or a list of identifiers separated by a comma. You can pass up to 100 identifiers in one request. |
| Currency               | string        | No       | Choose to retrieve foreign currency ratings or local currency ratings. If not specified, both ratings will be retrieved.                                                                           |
| Term                   | string        | No       | Choose to retrieve short-term or long-term ratings. If not specified, both ratings will be retrieved.                                                                                              |
| Asofdate               | string        | No       | Include a specific date for point in time data requests as YYYY-MM-DD.                                                                                                                             |
| Startdate              | string        | No       | Include a beginning date for historical data requests as YYYY-MM-DD.                                                                                                                               |
| Enddate                | string        | No       | Include an end date for historical data requests as YYYY-MM-DD. If the end date is not specified, the current date is considered to be the end date.                                               |
| Page                   | integer       | No       | The requested page number. Default: 1.                                                                                                                                                             |
| Pagesize               | integer       | No       | The requested number of results per page. Max: 50. Default: 50.                                                                                                                                    |
| Generatedriveinputfile | string        | No       | Indicate "yes" to generate a sample API Drive input file. A "Download file" hyperlink will appear in the response. If no filter is passed, the JSON response will be displayed.                    |

#### Outputs

| Field       | Type    | Description                  |
| ----------- | ------- | ---------------------------- |
| Status Code | integer | Status code of the response. |
| Headers     | dict    | Headers of the response.     |
| Body        | object  | Body of the response.        |

### Get S\&P Global Ratings Insurer Financial Strength Ratings

This endpoint provides S\&P Global Ratings insurer financial strength rating, rating date, creditwatch/outlook, creditwatch/outlook date and last review date for the requested group of Entities. Point in Time and Historical ratings can be retrieved by passing identifier or list of identifiers along with input parameters (asOfdate, startDate and endDate). Specify asOfDate to pull ratings as of a particular date. If not provided, latest rating will be returned. Below mandatory parameters must be provided: identifierType with identifierValues (with or without asOfDate) identifierType with identifierValues (with or without startDate and endDate)

#### Inputs

| Field        | Type   | Required | Description |
| ------------ | ------ | -------- | ----------- |
| Request Body | object | No       |             |

#### Outputs

| Field       | Type    | Description                  |
| ----------- | ------- | ---------------------------- |
| Status Code | integer | Status code of the response. |
| Headers     | dict    | Headers of the response.     |
| Body        | object  | Body of the response.        |

### Get S\&P Global Ratings Issue Credit Ratings

This endpoint provides S\&P Global (Global and National scale) issue credit rating, rating date, creditwatch/outlook, creditwatch/outlook date and last review date for the requested group of instruments/securities. Point in Time and Historical ratings can be retrieved by passing identifier or list of identifiers along with input parameters (asOfdate, startDate and endDate). Specify asOfDate to pull ratings as of a particular date. If not provided, latest rating will be returned. Below mandatory parameters must be provided: identifierType with identifierValues (with or without asOfDate) identifierType with identifierValues (with or without startDate and endDate)

#### Inputs

| Field                  | Type          | Required | Description                                                                                                                                                                                        |
| ---------------------- | ------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Identifiertype         | string        | No       | Refers to the type of identifier that uniquely identifies an entity or instrument. Default: RXMATURITYID.                                                                                          |
| Identifiervalues       | string\_array | No       | Identifier value is used to identify a unique entity or instrument. Please provide an identifier or a list of identifiers separated by a comma. You can pass up to 100 identifiers in one request. |
| Scale                  | string        | No       | Please use this filter with the value "National" to retrieve just the National Scale Ratings. If not provided in the request, global and national scale ratings will be provided in the response.  |
| Currency               | string        | No       | Choose to retrieve foreign currency ratings or local currency ratings. If not specified, both ratings will be retrieved.                                                                           |
| Term                   | string        | No       | Choose to retrieve short-term or long-term ratings. If not specified, both ratings will be retrieved.                                                                                              |
| Asofdate               | string        | No       | Include a specific date for point in time data requests as YYYY-MM-DD.                                                                                                                             |
| Startdate              | string        | No       | Include a beginning date for historical data requests as YYYY-MM-DD.                                                                                                                               |
| Enddate                | string        | No       | Include an end date for historical data requests as YYYY-MM-DD. If the end date is not specified, the current date is considered to be the end date.                                               |
| Page                   | integer       | No       | The requested page number. Default: 1.                                                                                                                                                             |
| Pagesize               | integer       | No       | The requested number of results per page. Max: 50.                                                                                                                                                 |
| Generatedriveinputfile | string        | No       | Indicate "yes" to generate a sample API Drive input file. A "Download file" hyperlink will appear in the response. If no filter is passed, the JSON response will be displayed.                    |

#### Outputs

| Field       | Type    | Description                  |
| ----------- | ------- | ---------------------------- |
| Status Code | integer | Status code of the response. |
| Headers     | dict    | Headers of the response.     |
| Body        | object  | Body of the response.        |

### Get S\&P Global Ratings Issue Credit Ratings

This endpoint provides S\&P Global (Global and National scale) issue credit rating, rating date, creditwatch/outlook, creditwatch/outlook date and last review date for the requested group of instruments/securities. Point in Time and Historical ratings can be retrieved by passing identifier or list of identifiers along with input parameters (asOfdate, startDate and endDate). Specify asOfDate to pull ratings as of a particular date. If not provided, latest rating will be returned. Below mandatory parameters must be provided: identifierType with identifierValues (with or without asOfDate) identifierType with identifierValues (with or without startDate and endDate)

#### Inputs

| Field        | Type   | Required | Description |
| ------------ | ------ | -------- | ----------- |
| Request Body | object | No       |             |

#### Outputs

| Field       | Type    | Description                  |
| ----------- | ------- | ---------------------------- |
| Status Code | integer | Status code of the response. |
| Headers     | dict    | Headers of the response.     |
| Body        | object  | Body of the response.        |

### Get S\&P Global Ratings Issuer Credit Ratings

This endpoint provides S\&P Global (Global and National scale) issuer credit rating, rating date, creditwatch/outlook, creditwatch/outlook date and last review date for the requested group of Entities. Point in Time and Historical ratings can be retrieved by passing identifier or list of identifiers along with input parameters (asOfdate, startDate and endDate). Specify asOfDate to pull ratings as of a particular date. If not provided, latest rating will be returned. Below mandatory parameters must be provided: identifierType with identifierValues (with or without asOfDate) identifierType with identifierValues (with or without startDate and endDate)

#### Inputs

| Field                  | Type          | Required | Description                                                                                                                                                                                        |
| ---------------------- | ------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Identifiertype         | string        | No       | Refers to the type of identifier that uniquely identifies an entity or instrument. Default: RXENTITYID.                                                                                            |
| Identifiervalues       | string\_array | No       | Identifier value is used to identify a unique entity or instrument. Please provide an identifier or a list of identifiers separated by a comma. You can pass up to 100 identifiers in one request. |
| Scale                  | string        | No       | Please use this filter with the value "National" to retrieve just the National Scale Ratings. If not provided in the request, global and national scale ratings will be provided in the response.  |
| Currency               | string        | No       | Choose to retrieve foreign currency ratings or local currency ratings. If not specified, both ratings will be retrieved.                                                                           |
| Term                   | string        | No       | Choose to retrieve short-term or long-term ratings. If not specified, both ratings will be retrieved.                                                                                              |
| Asofdate               | string        | No       | Include a specific date for point in time data requests as YYYY-MM-DD.                                                                                                                             |
| Startdate              | string        | No       | Include a beginning date for historical data requests as YYYY-MM-DD.                                                                                                                               |
| Enddate                | string        | No       | Include an end date for historical data requests as YYYY-MM-DD. If the end date is not specified, the current date is considered to be the end date.                                               |
| Page                   | integer       | No       | The requested page number. Default: 1.                                                                                                                                                             |
| Pagesize               | integer       | No       | The requested number of results per page. Max: 50.                                                                                                                                                 |
| Generatedriveinputfile | string        | No       | Indicate "yes" to generate a sample API Drive input file. A "Download file" hyperlink will appear in the response. If no filter is passed, the JSON response will be displayed.                    |

#### Outputs

| Field       | Type    | Description                  |
| ----------- | ------- | ---------------------------- |
| Status Code | integer | Status code of the response. |
| Headers     | dict    | Headers of the response.     |
| Body        | object  | Body of the response.        |

### Get S\&P Global Ratings Issuer Credit Ratings

This endpoint provides S\&P Global (Global and National scale) issuer credit rating, rating date, creditwatch/outlook, creditwatch/outlook date and last review date for the requested group of Entities. Point in Time and Historical ratings can be retrieved by passing identifier or list of identifiers along with input parameters (asOfdate, startDate and endDate). Specify asOfDate to pull ratings as of a particular date. If not provided, latest rating will be returned. Below mandatory parameters must be provided: identifierType with identifierValues (with or without asOfDate) identifierType with identifierValues (with or without startDate and endDate)

#### Inputs

| Field        | Type   | Required | Description |
| ------------ | ------ | -------- | ----------- |
| Request Body | object | No       |             |

#### Outputs

| Field       | Type    | Description                  |
| ----------- | ------- | ---------------------------- |
| Status Code | integer | Status code of the response. |
| Headers     | dict    | Headers of the response.     |
| Body        | object  | Body of the response.        |

### Get S\&P Global Ratings Program-Level Ratings

This endpoint provides program details - Instrument ID, Instrument Name, Program Type Code, Program Debt Type Code, Rating, Rating date for for the requested group of Entities. Historical ratings can be retrieved by passing identifier or list of identifiers along with input parameters (asOfdate, startDate and endDate). If not provided, latest rating will be returned. Below mandatory parameters must be provided: identifierType with identifierValues (with or without startDate/endDate)

#### Inputs

| Field                  | Type          | Required | Description                                                                                                                                                                                       |
| ---------------------- | ------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Identifiertype         | string        | No       | Refers to the type of identifier that uniquely identifies an entity or instrument. Default: CUSIP6.                                                                                               |
| Identifiervalues       | string\_array | No       | Identifier value is used to identify a unique entity or instrument. Please provide an identifier or a list of identifiers separated by a comma. You can pass up to 20 identifiers in one request. |
| Currency               | string        | No       | Choose to retrieve foreign currency ratings or local currency ratings. If not specified, both ratings will be retrieved.                                                                          |
| Term                   | string        | No       | Choose to retrieve short-term or long-term ratings. If not specified, both ratings will be retrieved.                                                                                             |
| Startdate              | string        | No       | Include a beginning date for historical data requests as YYYY-MM-DD.                                                                                                                              |
| Enddate                | string        | No       | Include an end date for historical data requests as YYYY-MM-DD. If the end date is not specified, the current date is considered to be the end date.                                              |
| Page                   | integer       | No       | The requested page number. Default: 1.                                                                                                                                                            |
| Pagesize               | integer       | No       | The requested number of results per page. Max: 50. Default: 50.                                                                                                                                   |
| Generatedriveinputfile | string        | No       | Indicate "yes" to generate a sample API Drive input file. A "Download file" hyperlink will appear in the response. If no filter is passed, the JSON response will be displayed.                   |

#### Outputs

| Field       | Type    | Description                  |
| ----------- | ------- | ---------------------------- |
| Status Code | integer | Status code of the response. |
| Headers     | dict    | Headers of the response.     |
| Body        | object  | Body of the response.        |

### Get S\&P Global Ratings Program-Level Ratings

This endpoint provides program details - Instrument ID, Instrument Name, Program Type Code, Program Debt Type Code, Rating, Rating date for for the requested group of Entities. Historical ratings can be retrieved by passing identifier or list of identifiers along with input parameters (asOfdate, startDate and endDate). If not provided, latest rating will be returned. Below mandatory parameters must be provided: identifierType with identifierValues (with or without startDate/endDate)

#### Inputs

| Field        | Type   | Required | Description |
| ------------ | ------ | -------- | ----------- |
| Request Body | object | No       |             |

#### Outputs

| Field       | Type    | Description                  |
| ----------- | ------- | ---------------------------- |
| Status Code | integer | Status code of the response. |
| Headers     | dict    | Headers of the response.     |
| Body        | object  | Body of the response.        |

## Important behavior

Actions that create, update, send, or delete data can change the connected service. Review their inputs before running them. A retry can repeat an operation; consider this when configuring retries for actions that change data.

The catalog lists the fields and capabilities available in the supplied provider definition. Availability can also depend on your deployment and organization’s Feature Access settings.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.stackai.com/integrations/catalog/s-and-p-global.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
