# What is the \`score\` mean in json api?

**URL:** https://meta.discourse.org/t/what-is-the-score-mean-in-json-api/300561
**Category:** Development
**Tags:** rest-api
**Created:** [March 22, 2024, 4:49pm UTC](https://meta.discourse.org/t/what-is-the-score-mean-in-json-api/300561 "2024-03-22T16:49:16Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![kongtaoxing](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kongtaoxing/32/373194_2.png) [@kongtaoxing](https://meta.discourse.org/u/kongtaoxing)
#### Post date: [March 22, 2024, 4:49pm UTC](https://meta.discourse.org/t/what-is-the-score-mean-in-json-api/300561/1 "2024-03-22T16:49:16Z")

</div>

What is this `score` mean in JSON api? How does it been calculated or what is it value related?  
Like in [this site](https://community.starknet.io/t/98029.json)

 ![image](https://global.discourse-cdn.com/meta/original/4X/2/8/d/28d3b043ac6ebb688294e6e7893fcebdb1eeaeef.png)

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [March 22, 2024, 5:43pm UTC](https://meta.discourse.org/t/what-is-the-score-mean-in-json-api/300561/2 "2024-03-22T17:43:35Z")

</div>

Hi @kongtaoxing welcome to Discourse Meta 👋

Please use search first when looking for support solutions.

 ![image](https://global.discourse-cdn.com/meta/original/4X/f/e/6/fe6247c570d4b47d5ddc5a554b3fe62e354c8561.png)

In this case the first topic in search results will likely contain your answer:

> [@"Score" in JSON APIs](https://meta.discourse.org/t/score-in-json-apis/155263/6):
>
> Ah - that’s because you have a featured topic. Score is an attribute of topic. It’s calculated by the server to help determine a number of behaviors, including what posts get sent in your digest emails.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [March 22, 2024, 5:59pm UTC](https://meta.discourse.org/t/what-is-the-score-mean-in-json-api/300561/3 "2024-03-22T17:59:42Z")

</div>

> [@kongtaoxing](#):
>
> How does it been calculated or what is it value related?

You can see a bit more detail about what it counts and how it’s calculated here:

> <https://github.com/discourse/discourse/blob/main/lib/score_calculator.rb#L3-L6>

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [April 21, 2024, 6:00pm UTC](https://meta.discourse.org/t/what-is-the-score-mean-in-json-api/300561/4 "2024-04-21T18:00:05Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
