Skip to content
VibeAISEO
VibeAISEOGet $100 free

Recipe

Domain ranking checker in Google Sheets, written by prompting

A list of domains in column A, a DR score in column B. Here is the recipe, the exact prompt wording, and the three slips an assistant tends to make along the way.

Carpenter using a long tape measure across wooden blocks on a craft paper background

The recipe in four moves

  1. 1

    Put domains in column A

    One per row, no protocol prefix and no slashes. Strip them first, because a stray slash is the top cause of empty results.

  2. 2

    Fetch one real response

    Run the free domain action for a single site and copy the JSON. You will paste it into the prompt.

  3. 3

    Ask for an Apps Script menu item

    Call it Score domains. It should read column A, make one bulk_dr call, and write results into column B.

  4. 4

    Run it on five rows first

    A small test shows you the shape of the failure before it can cost anything.

Prompt wording that worked

Plain sentences, a real sample and a limit on behaviour. Vague prompts invite loops.

text
Write a Google Apps Script for a Sheet.
Add a menu item called Score domains.
Read domains from A2:A, skip blanks, trim spaces.
Send ONE request:
GET /api.php?action=bulk_dr&domains=a.com,b.com on vibeaiseo.com
with header Authorization: Bearer (read from Script Properties, key name VIBE_KEY).
Here is a real response, use only its field names:
<PASTE JSON>
Write the DR into column B next to each domain.
No retries. If ok is false, show the error in a popup and stop.

Why one call per sheet, not one per row

bulk_dr takes up to 2,000 domains per call and costs 1 credit, which is $0.0001. Scoring a list of 300 costs the same as scoring one.

Assistants love a for-loop. It calls the API once per row, which works on five rows and then crawls on three hundred. Say plainly in the prompt that you want a single request.

For a list above 2,000, ask for chunks of 2,000 with a pause between them. A 5,000-row sheet is then three calls, or $0.0003 (an example, but the multiplication is real).

One screenshot worth taking

After the first run, screenshot the Script Properties panel showing the key name only, never the value. It reminds you where the key lives when you come back in March and cannot remember.

Hand pointing to grouped river stones on a table to show sorting by shape

What to do with the scores

Sort the sheet by DR and look at the shape, not the exact number. A cluster at 20 to 30 and one at 60 plus tells you more than the third decimal ever will.

Remember that DR is our own log-scale metric from referring domains. Compare it with Ahrefs DR or Moz DA only as a rough direction, because the formulas differ.

Adding rows from a form without rescoring the whole sheet

Many sheets grow from a form. A teammate submits a row, and the score column stays empty until someone runs the script again. Running it over the whole list every time works, but it also overwrites numbers you may have dated by hand. A narrower script is the better habit.

The three habits below keep the sheet calm while new rows arrive.

Score only the blank cells

Tell the assistant to read column B first and send only the domains whose score is empty. The request gets shorter, and rows scored earlier keep the numbers they already have.

Deduplicate the list before the call. A domain pasted twice should go out once, so the same name never appears twice in one result.

Keep a date column for each run

Add a column for the run date beside the score, and have the script write that date only for the rows it scored. Picture a list of 400 domains where 40 arrived this month. Those 40 carry this month's date, and the other 360 keep the date they were first scored.

The date is what makes a score honest. The index refreshes about once a month, so a number from an older month should look older on the page.

Form responses in their own tab

Keep the form responses in a separate tab and copy new domains into the working tab with a short script or a formula. The form tab stays a clean log of who added what. The working tab stays the place where scores live.

If a teammate edits a domain in the working tab, the next run should treat it as a new domain. Say that in the prompt, or the old score will sit beside the new name without anyone noticing.

Three slips and how they show up

SlipWhat you see in the SheetWhat to type to the assistant
Key pasted into the script textIt works, then you share the fileMove the key to Script Properties
Domains sent with a protocol prefixEmpty DR cellsStrip protocol and path before the call
Loop per rowSlow run, thousands of callsMake one bulk_dr request per 2,000 rows

Sheet questions that come up

Can a Sheets formula call the API directly?

Not safely. A cell formula would expose your key to everyone with the file. Use a script that reads the key from Script Properties, or run the job in n8n, and keep paid actions out of any shared cell.

Why are some cells blank after the run?

Usually the domain had a protocol, a path or a trailing space. Clean column A first, rerun five rows, and compare. A brand-new domain can also simply have no links in the index yet.

Does the score update by itself?

No. The sheet shows what the index said at the moment you ran the script, and the index refreshes about monthly. Add a date column so you know which month each score came from.

Before you share the sheet with a teammate

  • Remove the key from the script text and confirm it sits in Script Properties
  • Check that column A holds bare domains, with no protocol and no slash
  • Confirm the script makes one request per run, not one per row
  • Add a date column so every score says which month it came from
  • Tell the teammate which cells they may edit and which are formulas
Garden path splitting toward a shed and compass with a gardener holding a trowel

Next steps

Once the sheet works, the natural upgrade is a second column for referring domains using the 2-credit refdomains action on a few rivals. Keep that separate.

Read the guardrails before you share the file, and if the column stays empty go straight to the troubleshooting table. The cost page has the price per run.

How the scores stay useful after the first month

A domain ranking checker sheet is a snapshot, not a verdict. It answers one question, once. Almost every follow-up is about change, and the habits below exist for that.

Two details decide whether the sheet helps a decision or misleads one: how you group the rows and how you read a gap.

Compare bands, not single rows

Put the domains into three or four bands by score, then look at which band each one moved into. A domain that climbed from a low band to a middle one is worth a look. A domain that moved by a single point is not news.

Write the band edges in a cell at the top of the sheet. The rule is then visible to anyone who opens the file, and nobody has to remember it from a chat.

Keep rivals in their own tab

Rivals change more slowly than your own list, so keep them apart. A rival tab with a date and a short note on why each one is there reads better than a mixed list ever will.

When a rival drops out, do not delete its row. Mark it and keep the last score, because the drop is itself the information you wanted.

Trust the trend over one reading

A single reading is one month of one index. Two or three readings in a row tell you whether a direction holds. If you check monthly, plan on a short table of the last three months, not a chart of every day.

Keep the old tabs. A year-old copy of the sheet is the cheapest way to see how a rival grew, and it costs nothing to store.

Write down what would change your mind

Before the second run, write one sentence that says what would make you act: a rival moving up two bands, or your own domain dropping out of the middle band. A sentence written in advance stops you from reading every wobble as a story.

Put that sentence in the first row of the sheet. When a number moves, the next look starts from the rule, not from the mood of the afternoon. It is a small habit, and it is the one that keeps a scoring sheet from turning into a hobby.

What a score in this sheet cannot tell you

Numbers in a sheet look more certain than they are. Before you sort by them, know what they leave out.

The three limits below are the ones people hit most often in a shared file.

A zero on a brand-new domain

A new domain can score zero because the index holds few or no links for it yet. That is an answer about the index, not a verdict on the site. Say you add a client's fresh domain on Monday and it reads zero. The honest note is that its links are not indexed yet.

Mark those rows with a short note instead of leaving a bare zero, because a bare zero invites someone to explain it away later.

Scores from other tools in one column

A column that mixes our score with Ahrefs DR or Moz DA gives a false picture, because each one is built differently. Keep one tool per column and put the tool name in the header.

If a colleague pastes a figure from another tool into the same column, the sort order will look fine and still be wrong. Check the header before you trust the ranking.

A score does not measure search rankings

Google does not use third-party metrics such as DR or DA as a ranking signal, so a higher score in this sheet does not promise a higher place in search. It describes link data only.

Use the score to see where a domain stands in the link graph, then check search results separately with the tools you already trust.