What this page covers
Google Sheets is a browser-based spreadsheet. Two of its features matter here. It can import CSV files through its File menu. And every spreadsheet can carry a bound script written in Apps Script, Google's JavaScript-based scripting platform, which can call external HTTP APIs and write the results into cells.
SimilarIQ is a look-alike company search engine and API: one domain in, up to 100 ranked similar companies out. It has no Sheets add-on, no Workspace Marketplace listing and no built-in sync. The real routes are CSV export from the web app, the REST API, the SDKs and the CLI. This page walks through the CSV route and the Apps Script route, with each Google step checked against Google's own help and developer documentation.
If you only need a list in a spreadsheet once, use the CSV route and stop reading after that section. The script route is for people who want a button in the sheet that fetches look-alikes for whatever domain is in a cell.
Why work with look-alikes in a spreadsheet
Each SimilarIQ result is a row by nature: rank, company, domain, a matchScore from 0 to 100, a type of Direct, Indirect, Adjacent or Emerging, a confidence score from 0 to 100 and a likelyCompetitor flag. A spreadsheet lets you sort, filter and threshold that list without writing code, and share it with people who will never log in to another tool.
It is also where joins happen. SimilarIQ does not return contacts, revenue, headcount, funding, location or technographics, and it has no filters inside a search. In a sheet you can put look-alikes on one tab, your CRM export on another, and use lookups on the domain column to mark which companies you already know. That turns a raw list into a prospect list. The guide to building a target account list follows that process.
Route one: CSV export and File import
In SimilarIQ, open any search, or My Companies for everything across all searches, and export CSV. Exporting is free. For many domains at once, use bulk upload: one credit per domain and one combined export.
Google's help page gives the import steps. Open a spreadsheet, go to the File menu and choose Import, then select the CSV file. Pick an import location. The options Google lists are Create new spreadsheet, Insert new sheets, Replace spreadsheet, Replace current sheet, Append rows to current sheet and Replace data starting at selected cell; Google notes that not every file type offers all of them. Under separator character, leave Detect automatically or choose Comma. Click Import.
Use Insert new sheets when you want each search on its own tab, and Append rows to current sheet when you are building one long master list. If you append, add a column for the seed domain first so you can tell later which search each row came from.
Route two: Apps Script setup
Google's developer guide says that to create a script bound to a spreadsheet you select Extensions, then Apps Script from within Sheets. That opens the script editor attached to your file.
Store your SimilarIQ API key before writing any code. Google's properties guide says you can add script properties as key-value pairs from the project settings page: open Project Settings, click Edit script properties, add a property, and click Save script properties. Name it something like SIMILARIQ_API_KEY. In code you read it with PropertiesService.getScriptProperties().getProperty('SIMILARIQ_API_KEY'). The key never appears in a cell.
Create the key in the SimilarIQ app. It starts with sk-live-, is shown once and can be revoked. New accounts get 2 free searches when they register, which is enough to test the whole script.
- Open the spreadsheet and choose Extensions, then Apps Script.
- In Project Settings, add a script property holding your SimilarIQ key.
- Write a function that reads a domain from the active sheet.
- Call the SimilarIQ search endpoint with
UrlFetchApp.fetch. - Parse the JSON and append one row per result.
- Add a custom menu so the function runs from the sheet.
The request, in Apps Script terms
The SimilarIQ call is POST https://similariq.ai/api/v1/search with a JSON body such as {"domain":"stripe.com","limit":100} and an X-API-Key header. Google's reference for UrlFetchApp.fetch(url, params) documents the parameters you need: method set to post, contentType set to application/json, headers as a key-value map containing X-API-Key, and payload as the JSON string.
Add muteHttpExceptions: true. Google's reference says that with it set, the call does not throw on error response codes and returns the response instead, which lets your script read the status with getResponseCode() and the body with getContentText(). Without it, a 402 or 429 surfaces as an exception with less detail.
Parse the body with JSON.parse, loop over the result list, and write each company with appendRow, which Google's Sheets guide describes as appending a new row at the bottom of the spreadsheet with the values you pass. Write rank, company, domain, matchScore, type, confidence and likelyCompetitor in a fixed order, plus the seed domain. The first time a user runs it, Google asks them to authorize the script to connect to an external service.
Timeouts: why this must not be a cell formula
It is tempting to wrap the call in a custom function and type a formula into a cell. Do not. Google's custom functions guide states that a custom function call must return within 30 seconds, and a SimilarIQ search takes roughly 30 to 60 seconds because it is a fresh research pass. Many searches would end as an error in the cell. Custom functions also recalculate, and a recalculation that reran a search would spend another credit.
Run the function from a custom menu instead. Google's menus guide shows the pattern: an onOpen function that calls SpreadsheetApp.getUi(), then createMenu, addItem with a label and a function name, and addToUi. A menu-run script is subject to Google's script runtime quota, which its quotas page lists as 6 minutes per execution.
The fetch itself is not the bottleneck. Google's reference gives UrlFetchApp a timeoutSeconds parameter with a default of 360 seconds, far longer than a search. The practical ceiling is the 6-minute execution limit: at 30 to 60 seconds each, plan for about five searches per run when looping, and use SimilarIQ's bulk upload for longer lists.
Example tasks
Once the menu item exists, these are the jobs it handles. New searches cost 1 credit each; reading stored results is free.
- Type a prospect's domain in a cell, run the menu item, and get 100 ranked look-alikes on a new tab.
- Add a filter view for Direct with matchScore of at least 80.
- Use a lookup against your CRM export tab to flag companies you already have.
- Count how many seeds each company appeared under with a pivot table.
- Add a second menu item that calls
GET https://similariq.ai/api/v1/balanceand shows the remaining balance. - Re-fetch a stored search by its searchId through
GET /api/searches/SEARCH_IDat no cost, instead of searching again. - Import a bulk export CSV for 200 domains and chart results by type.
Cost and spend control
SimilarIQ charges $0.0025 per look-alike. A search returns up to 100, so it costs $0.25 whatever limit you pass. Twenty searches are $5.00, 200 are $50, and a bulk file of 500 domains is $125. The minimum deposit is $10 and the balance does not expire.
Spreadsheets make it easy to spend by accident, because anyone with edit access can click a menu item. Three habits help. Have the script write each searchId next to its seed domain and skip seeds that already have one. Call the free balance endpoint first and stop if the balance is too low for the batch. And set a monthly cap in SimilarIQ, which is a hard ceiling on what your card can be charged.
Google has its own quota: its quotas page lists URL Fetch calls at 20,000 per day for consumer accounts and 100,000 per day for Google Workspace accounts. Look-alike searches will not come near that. Details on SimilarIQ's side are on the pay-as-you-go pricing page.
Two end-to-end workflows
Prospect list from five customers, no code. Run five searches in the SimilarIQ app ($1.25), export My Companies as CSV, and import it with Insert new sheets. Sort by match score, filter out Emerging if you want established companies, and remove domains that match your customer list. Then send the survivors to your data provider for contacts. For CRM loading, SimilarIQ also exports CSVs shaped for Salesforce Accounts and HubSpot Companies; see CRM export.
A research sheet with a button. Column A holds seed domains. A menu item loops over rows that have no searchId, calls the API for each, appends results to a Results tab and records the searchId. Keep each run to about five new seeds to stay inside the 6-minute limit. Ten seeds over two runs cost $2.50. The step-by-step version is on the Google Sheets walkthrough.
Troubleshooting and security
Check the status code first. 401 means the key is missing or wrong; confirm the script property name matches what the code reads. 402 means the balance is out of credits. 429 means the rate limiter is smoothing a burst, so add a pause between calls. 502 means the search failed, the credit was refunded automatically and a retry is safe. 400 is a bad request; check that contentType is application/json and that the payload is a JSON string, since Apps Script sends form encoding by default.
If the script stops with a time error, it hit the execution limit; process fewer seeds per run. If a cell formula shows an error, you are calling the API from a custom function; move it to a menu.
For security, keep the key in script properties, never in a cell or in the code. Anyone who can edit the script can read script properties, so limit editors and use a key created only for this sheet. Revoke it in the SimilarIQ app if the sheet is shared too widely. SimilarIQ has no published security certifications.
Frequently asked questions
Is there a SimilarIQ add-on for Google Sheets?
No. SimilarIQ has no Sheets add-on or native sync. You import a CSV export, or you call the REST API from Apps Script.
How do I import SimilarIQ results into Google Sheets?
Export the search as CSV in SimilarIQ. In Sheets, choose File, then Import, select the file, pick an import location such as Insert new sheets, and click Import.
Can I call SimilarIQ from a cell formula?
It is not reliable. Google says a custom function must return within 30 seconds, and a SimilarIQ search takes roughly 30 to 60 seconds. Run the call from a custom menu, where the limit is 6 minutes per execution.
Where should I store the API key in Apps Script?
In script properties, set from the Apps Script project settings page and read with PropertiesService. Do not put the key in a cell or in the source code.
How many searches can one script run handle?
Google lists a 6-minute runtime per execution. At 30 to 60 seconds per search, plan for about five searches per run. For larger lists use SimilarIQ's bulk search and import the combined CSV.
Does loading data into Sheets cost SimilarIQ credits?
No. Exports and re-reading past results are free. Only a new search costs a credit, which is $0.25.