Something wrong with API today

Instead of fixing the bug, error message has been changed. Brilliant!

{
    "status": "error",
    "errors": [
        {
            "errorCode": "UDAPI100500",
            "message": "From and to difference too high for interval",
            "propertyPath": null,
            "invalidValue": null,
            "error_code": "UDAPI100500",
            "property_path": null,
            "invalid_value": null
        }
    ]
}

Guess need to spin up Claude and see if I can switch the API SDK if that is the official response; my indicators are useless with 4 days data.

@dsouzaedison How many days are you able to get now?

Edit:- The documentation still has the old info, Historical Candle Data | Upstox Developer API

What are the alternatives? We made a huge mistake by completely relying on Upstox to build our algo systems. No point if we can’t trade now.

1 Like

@Ankit_Agarwal 5 days

Yeah,true. Looks like most of us naive to setup the system based only one data provider.
I was going to scale in some week. Thank god, it happened early.
Maybe they think they can change anything anytime because it free api. Looks like its time to find more stable data provider for serious trader.

2 Likes

In case they don’t delete this thread, please do share over DM if you find any decent alternatives with low jumping cost to migrate SDKs, I will try something this week and see.

2 Likes

the bigger issue is that they changed the api behavior WITHOUT any prior notice and that also in middle of a week. This is the peak of entitled unprofessional behavior. Imagine scaling your algo with these type of services. Its better to pay for reliable service and most of them do not cost much for data. API cost is nothing if you compare to the brokerage charges we pay.
just say good bye and start migrating to others. One all major 5 broker are providing api services.

2 Likes

AngelOne API is also good alternative. I’ve integrated both.

checkout dhan api also for order placement. They have better features which we have been asking for from Upstox.

1 Like