BERT relevance score API (beta)
Methods
The BERT score API supports 2 different input methods.
- Content input Use the API to get the BERT relevance score for (unpublished) content.
- URL input, get the BERT score for a published article / web page.
About
The BERT relevance score API calculates relevance between your keyword / phrase input and text using contextual word embeddings and bidirectional attention. Instead of just matching keywords, BERT understands the meaning and relationships between words by analyzing the entire sentence before and after the keyword. It then computes semantic similarity between the keyword and the surrounding text, helping Google assess how well the content aligns with search intent.
Response elements
The response from the above methods include
- BERT score → The relevance score calculated by the BERT algorithm. The closer the score is to 1.0 the higher the relevance, if this number is below 0.5 your content probably isn’t really relevant to your keyword.
- Label → The label, functions as a quick indicator to show you how to interpret the BERT score.
Ready to start testing the SEO Review Tools API? Get your API Key →
Trusted by →
