# API vs Website Patron/Pledge Counts

**URL:** <https://www.patreondevelopers.com/t/api-vs-website-patron-pledge-counts/231>\
**Category:** Friendly Help\
**Created:** [January 26, 2018, 11:31pm UTC](https://www.patreondevelopers.com/t/api-vs-website-patron-pledge-counts/231 "2018-01-26T23:31:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![PhilS](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/phils/32/109_2.png) [@PhilS](https://www.patreondevelopers.com/u/PhilS)\
**Post date:** [January 26, 2018, 11:31pm UTC](https://www.patreondevelopers.com/t/api-vs-website-patron-pledge-counts/231/1 "2018-01-26T23:31:02Z")

</div>

If I look at the public profile for GeeksLife, ([https://www.patreon.com/geekslife](https://www.patreon.com/geekslife)) I see 26 Patrons: [https://www.screencast.com/t/8fTQ9ShfZm](https://www.screencast.com/t/8fTQ9ShfZm)

If I pull pledges for that account through the API, I’m getting 46 results.

I will look through the documentation but wondering if there is a simple explanation why I can get 46 results of Patron/Pledge data via the API but their public profile shows 26 Patrons.

I was thinking maybe some of them aren’t supporting/pledging anymore but none have “Declined Since” values.

Thanks!

---

<div class="post-metadata">

**Author:** ![Dries007](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/dries007/32/22_2.png) [@Dries007](https://www.patreondevelopers.com/u/Dries007)\
**Post date:** [January 27, 2018, 12:30pm UTC](https://www.patreondevelopers.com/t/api-vs-website-patron-pledge-counts/231/2 "2018-01-27T12:30:03Z")

</div>

You can hide who you support as a patreon. I’m assuming that’s where the discrepancy comes from. I don’t know if that flag is exposed via the API. (It ought to be, if Patreon wants us to respect the preferences of the users.)

---

<div class="post-metadata">

**Author:** ![LiraNuna](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/liranuna/32/9_2.png) [@LiraNuna](https://www.patreondevelopers.com/u/LiraNuna)\
**Post date:** [January 29, 2018, 9:28pm UTC](https://www.patreondevelopers.com/t/api-vs-website-patron-pledge-counts/231/3 "2018-01-29T21:28:17Z")

</div>

The count on the main site are for valid pledges only - as in, pledges that were processed and are expecting to be processed correctly. It’s the same count used to calculate the estimated earnings shown.

Looking at the campaign, I see 46 total pledges, out of which only 26 are valid (as in, not declined).

> I was thinking maybe some of them aren’t supporting/pledging anymore but none have “Declined Since” values.

This may be a bug - I’ll have to look into this - but at a glance these look like most of the declined pledges are very old, before we could have the means to calculate the `declined_since` field.

---

<div class="post-metadata">

**Author:** ![PhilS](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/phils/32/109_2.png) [@PhilS](https://www.patreondevelopers.com/u/PhilS)\
**Post date:** [February 13, 2018, 9:43pm UTC](https://www.patreondevelopers.com/t/api-vs-website-patron-pledge-counts/231/4 "2018-02-13T21:43:40Z")

</div>

Verified that it was “Declined Since” items getting added to the list. So all is good now, thanks!
