# Need help in getting json formatted data from google sheet API

**URL:** <https://community.postman.com/t/need-help-in-getting-json-formatted-data-from-google-sheet-api/35920>\
**Category:** Help Hub\
**Created:** [June 3, 2022, 4:51pm UTC](https://community.postman.com/t/need-help-in-getting-json-formatted-data-from-google-sheet-api/35920 "2022-06-03T16:51:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![swasthik08](https://avatars.discourse-cdn.com/v4/letter/s/dfb087/32.png) [@swasthik08](https://community.postman.com/u/swasthik08)\
**Post date:** [June 3, 2022, 4:51pm UTC](https://community.postman.com/t/need-help-in-getting-json-formatted-data-from-google-sheet-api/35920/1 "2022-06-03T16:51:05Z")

</div>

I have integrated google sheet API to Postman, but somehow im not able to get JSON responses instead I’m getting HTML contents from the sheet API,

Can someone help to resolve this issue?

_Details (like screenshots)_:

 ![Screenshot 2022-06-03 at 10.19.11 PM](https://us1.discourse-cdn.com/getpostman/original/3X/9/c/9c82001e3f4b7495a6a38ebe51ac83d0aac6758b.png)

@danny-dainton @w4dd325

---

<div class="post-metadata">

**Author:** ![w4dd325](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/w4dd325/32/12436_2.png) [@w4dd325](https://community.postman.com/u/w4dd325)\
**Post date:** [June 3, 2022, 5:00pm UTC](https://community.postman.com/t/need-help-in-getting-json-formatted-data-from-google-sheet-api/35920/2 "2022-06-03T17:00:55Z")

</div>

The headers you have added to the request will be sent to the server…

What Content-Type header is set in the response that you receive back?

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/6/d/6da8a65309094b45a619f1c8b4465a45bdbca424.png)

This suggests you have to add something to your URL in order to get JSON back;

> **[Using JSON in the Google Data Protocol  |  Google Data APIs...](https://developers.google.com/gdata/docs/json#json-output)**

> JSON output  
> To request a response in JSON format, use the alt=json parameter.  
> For example, to request Google’s developer calendar feed in JSON format, send the following query:  
> [http://www.google.com/calendar/feeds/developer-calendar@google.com/public/full?alt=json](http://www.google.com/calendar/feeds/developer-calendar@google.com/public/full?alt=json)
