# MyFonts.net api query

**URL:** <https://community.postman.com/t/myfonts-net-api-query/30438>\
**Category:** Help Hub\
**Created:** [December 6, 2021, 8:14pm UTC](https://community.postman.com/t/myfonts-net-api-query/30438 "2021-12-06T20:14:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![demonlemon24](https://avatars.discourse-cdn.com/v4/letter/d/3ab097/32.png) [@demonlemon24](https://community.postman.com/u/demonlemon24)\
**Post date:** [December 6, 2021, 8:14pm UTC](https://community.postman.com/t/myfonts-net-api-query/30438/1 "2021-12-06T20:14:49Z")

</div>

I’m trying to request multiple samples images from myfonts api to use in a dataset for StyleGAN.

[This is the API Documentation](https://dev.myfonts.com/docs/#overview). So far I’ve been able to generate one sample image, but I have no idea how to download multiple (I need several thousand.)

This is the URL I’m working with now:

[https://apicdn.myfonts.net/v1/fontsample?id=65305&text=Automation&width=1024](https://apicdn.myfonts.net/v1/fontsample?id=65305&text=Automation&width=1024)

I’ve got a txt file with all the font 'id’s in this format. Not sure how to delete the repeated values.

```auto
"id": "201626
201626
"id": "63781
63781
"id": "98189
98189
"id": "218464
218464
"id": "79387
79387
"id": "35068

```
