# I cannot use the API, why am I getting this error?

**URL:** <https://forum.cow.fi/t/i-cannot-use-the-api-why-am-i-getting-this-error/3035>\
**Category:** Technical\
**Created:** [June 2, 2025, 9:41am UTC](https://forum.cow.fi/t/i-cannot-use-the-api-why-am-i-getting-this-error/3035 "2025-06-02T09:41:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![transnitria2025](https://avatars.discourse-cdn.com/v4/letter/t/e68b1a/32.png) [@transnitria2025](https://forum.cow.fi/u/transnitria2025)\
**Post date:** [June 2, 2025, 9:41am UTC](https://forum.cow.fi/t/i-cannot-use-the-api-why-am-i-getting-this-error/3035/1 "2025-06-02T09:41:33Z")

</div>

curl -X ‘GET’ ‘[https://raw.githubusercontent.com/quote?sellToken=0x6810e776880c02933d47db1b9fc05908e5386b96&buyToken=0x6982508145454Ce325dDbE47a25d4ec3d2311933&kind=buy&amount=1234567890&deadline=2025-05-02T18%3A35%3A18.814523Z](https://raw.githubusercontent.com/quote?sellToken=0x6810e776880c02933d47db1b9fc05908e5386b96&buyToken=0x6982508145454Ce325dDbE47a25d4ec3d2311933&kind=buy&amount=1234567890&deadline=2025-05-02T18%3A35%3A18.814523Z)’ -H ‘accept: application/json’

400: Invalid request

---

<div class="post-metadata">

**Author:** ![middleway.eth](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.cow.fi/middleway.eth/32/12_2.png) [@middleway.eth](https://forum.cow.fi/u/middleway.eth)\
**Post date:** [June 3, 2025, 9:49am UTC](https://forum.cow.fi/t/i-cannot-use-the-api-why-am-i-getting-this-error/3035/2 "2025-06-03T09:49:41Z")

</div>

Hey @transnitria2025 and welcome!  
I think this kind of tech support is better to have on CoW’s Discord server.  
Can you please ask there under #tech-talk
