usaspending-api icon indicating copy to clipboard operation
usaspending-api copied to clipboard

/api/v2/download/transactions/ not able to specify start_date?

Open ReichYang opened this issue 3 years ago • 0 comments

Hello,

I'm using the /api/v2/download/transactions/ endpoint to get transaction level data from 2015.

My filter specifies the start_date and the end_date like this:

        "date_range": {
            "start_date": "**2015-01-01**",
            "end_date": "2021-03-02",
            },

However, the response body's filters looks like this:

   'time_period': [{'date_type': 'action_date',
     'end_date': '2021-03-03',
     'start_date': '**1000-01-01**'}]}

Is this just a glitch or this endpoint doesn't support specify start_date? If it is the case that this endpoint can't specify start date, which endpoint should I use to get transaction-level data from 2015?

Thanks.

ReichYang avatar Mar 03 '21 04:03 ReichYang