# REST v2 - Subscription Plans - List Subscription Plans - Not matching XML-RPC

**URL:** https://integration.keap.com/t/rest-v2-subscription-plans-list-subscription-plans-not-matching-xml-rpc/94112
**Category:** API Q&A
**Created:** [June 18, 2026, 11:40am UTC](https://integration.keap.com/t/rest-v2-subscription-plans-list-subscription-plans-not-matching-xml-rpc/94112 "2026-06-18T11:40:31Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Pav](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/pav/32/124_2.png) [@Pav](https://integration.keap.com/u/Pav)
#### Post date: [June 18, 2026, 11:40am UTC](https://integration.keap.com/t/rest-v2-subscription-plans-list-subscription-plans-not-matching-xml-rpc/94112/1 "2026-06-18T11:40:31Z")

</div>

@OmarAlmonte, I am seeing a mismatch in the results being returned in the Subscription Plans - List Subscription Plans endpoint.

[https://developer.infusionsoft.com/docs/restv2/#tag/Subscription-Plans/operation/listSubscriptionPlans](https://developer.infusionsoft.com/docs/restv2/#tag/Subscription-Plans/operation/listSubscriptionPlans)

Using the PHP code below for XML-RPC I get over 200 plans back.

```php
$subscription_plans = $infusionsoft->dsQuery(
   'SubscriptionPlan', 1000, 0, 
    array('Id' => '%'), 
    array('Id', 'Cycle', 'Frequency', 'ProductId', 'Active')
);

```

But the REST v2 endpoint is only returning 33 of those plans.

---

<div class="post-metadata">

### Author: ![OmarAlmonte](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/omaralmonte/32/15105_2.png) [@OmarAlmonte](https://integration.keap.com/u/OmarAlmonte)
#### Post date: [June 18, 2026, 1:56pm UTC](https://integration.keap.com/t/rest-v2-subscription-plans-list-subscription-plans-not-matching-xml-rpc/94112/2 "2026-06-18T13:56:12Z")

</div>

Hi Pav,

The difference you’re seeing is likely because the REST v2 endpoint only returns subscription plans associated with active products, whereas the XML-RPC `SubscriptionPlan` query returns all plans, including those tied to inactive products.

That would explain why XML-RPC is returning over 200 plans while the v2 endpoint only returns 33.

If that’s not the case, let me know and we’ll investigate further.

---

<div class="post-metadata">

### Author: ![Pav](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/pav/32/124_2.png) [@Pav](https://integration.keap.com/u/Pav)
#### Post date: [June 18, 2026, 2:35pm UTC](https://integration.keap.com/t/rest-v2-subscription-plans-list-subscription-plans-not-matching-xml-rpc/94112/3 "2026-06-18T14:35:06Z")

</div>

Checking on my side, the associated products are inactive.

Could you update the documentation to mention that, as it was not obvious.

Thanks

---

<div class="post-metadata">

### Author: ![OmarAlmonte](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/omaralmonte/32/15105_2.png) [@OmarAlmonte](https://integration.keap.com/u/OmarAlmonte)
#### Post date: [June 18, 2026, 2:38pm UTC](https://integration.keap.com/t/rest-v2-subscription-plans-list-subscription-plans-not-matching-xml-rpc/94112/4 "2026-06-18T14:38:58Z")

</div>

Will do, thanks for bringing this up!
