List of funds related to a specific campaign

Hi!

Is there any way to get the list of funds related to a specific campaign? Right now the only option I see is to get list of all funds and then filter them by campaign id.

Comments

  • Alex Wong
    Alex Wong Community All-Star
    Tenth Anniversary Kudos 5 Facilitator 4 bbcon 2025 Attendee Badge

    @Nikita Aleshka
    yup, there's no fiter that can be used on the 2 fund lists API call, filter the result array is your best bet

  • @Alex Wong
    Maybe there is some workaround for that? In my case, there will be potentially thousands of fund records, so ideally it needs to be filtered on request level.

  • Alex Wong
    Alex Wong Community All-Star
    Tenth Anniversary Kudos 5 Facilitator 4 bbcon 2025 Attendee Badge

    @Nikita Aleshka
    what is your total fund count?

  • @Alex Wong for now-about 300, but in the close future it will be 1000+ and then even more.

  • Alex Wong
    Alex Wong Community All-Star
    Tenth Anniversary Kudos 5 Facilitator 4 bbcon 2025 Attendee Badge

    @Nikita Aleshka
    for now it should be fine. As 1 call to the NXT integration API's fund list has a 10000 records return limit. So up to 10000 fund records, you can get them all in 1 call, then filtering should be easy.

    How are you making calls? power automate? or custom program coding, what language if custom.

    filtering in power automate is rather easy and doesn't take a LOT of processing time using the Filter array action.

    Every programming language also has strong filtering data array capability as well

  • @Alex Wong I'm using Node in AWS serverless app. I'm new to SKY API, are there any tools to create a custom query to get the data with needed custom filter and format?

  • Alex Wong
    Alex Wong Community All-Star
    Tenth Anniversary Kudos 5 Facilitator 4 bbcon 2025 Attendee Badge

    @Nikita Aleshka
    if you are using directly SKY API, you are limited to what it allows you to filter on to get data, no way around that.

    You want to have more custom filter capability, then you will need to replicate the data somewhere else in interval that you can accept.

    For example, I replicated most of my RE NXT and FE NXT data in an Azure SQL data warehouse on 4 hours interval. So I can query however I want against any data point.

    You will have to figure out what you are trying to do and determine what is worth the time and effort to do. I will say that if you are simply trying to get a list of funds that are associated with a specific campaign, it is better to just make the SKY API call, get the array of JSON and then use Node.js's array filtering capability to filter on campaign property. But again, I don't know the full extend of what you are trying to do so maybe there are more details you need from SKY API.

  • @Alex Wong replicating data at this point seems like an overcomplication for me, so I was interested only in filtering solution on API level. Maybe I can add this as a suggestion somewhere?

  • Alex Wong
    Alex Wong Community All-Star
    Tenth Anniversary Kudos 5 Facilitator 4 bbcon 2025 Attendee Badge

    @Nikita Aleshka
    you can search Idea Bank and see if there's already one and vote on it or add one yourselves

  • @Alex Wong the problem is that response time for ~300 funds is from 1 to 2 seconds, and it's a little annoying. May this be a possible solution for the problem, or it's not related to funds and campaigns?

  • Alex Wong
    Alex Wong Community All-Star
    Tenth Anniversary Kudos 5 Facilitator 4 bbcon 2025 Attendee Badge

    @Nikita Aleshka
    List v2 currently only support Action, I don't know when it will support others.

    my get fund list took 5s and I have 5676 fund records. It's not as “heavy” as you think.

Categories