Look up payer IDs in Google Sheets
Guide
You can turn payer names into payer IDs (or the reverse) in Google Sheets using the Search Payers API endpoint. This guide tells you how.
Tip: If you just want a full list of Stedi’s payers in a spreadsheet-friendly format, you can download the latest payer CSV from the Stedi Payer Network or use the List Payers CSV endpoint.
Requirements
To use the Search Payers API endpoint, you need a paid Stedi developer account. To try it out free, request a trial.
Step 1. Create a production API key
Log in to Stedi.
Click your account name at the top right of the screen.
Select API Keys.
Click Generate new API Key.
Enter a name for your API key.
Select Production mode.
Click Generate. Stedi generates an API key and allows you to copy it.
If you lose the API key, delete it and create a new one.
Step 2. Open Google Sheets
In your Google Sheet spreadsheet, place your payer names or payer IDs in column A. You can mix them if desired. For example:
How this may look in your spreadsheet:

Step 3. Create the script
In the Google Sheets menu, click Extensions > Apps Script.
Delete what’s in the editor.
Paste in the following code. Replace
YOUR_STEDI_API_KEYwith your Stedi API key.Click the Save project to Drive icon or press Ctrl + S.
The script creates an =STEDI_PAYER_INFO() formula that outputs the payer name and primary payer ID from the Search Payers API endpoint.
Step 4. Use the Google Sheets formula
In your Google Sheets spreadsheet, use the =STEDI_PAYER_INFO() formula to get the payer name and primary payer ID for each value in column A. For example:

The search supports fuzzy matching. The formula returns the closest match available.
Note: The payer names returned by the Search Payers API endpoint are intended for routing transactions – not for display in patient-facing UIs. If you need a patient-facing name, build your own list and map the names to Stedi payer IDs.
Get started
The Payers API is available on Stedi’s paid developer plan.
To try it out, request a free trial. Most teams are up and running in less than a day.
Share
Start free with a sandbox account. Upgrade to production when you're ready. There are no monthly minimums or setup fees. You only pay for the transactions you use. See our pricing.
