# Search Pancake for list of tokens

**URL:** <https://community.bitquery.io/t/search-pancake-for-list-of-tokens/136>\
**Category:** GraphQL API\
**Tags:** closed\
**Created:** [June 9, 2021, 12:33pm UTC](https://community.bitquery.io/t/search-pancake-for-list-of-tokens/136 "2021-06-09T12:33:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tjones0808](https://avatars.discourse-cdn.com/v4/letter/t/73ab20/32.png) [@tjones0808](https://community.bitquery.io/u/tjones0808)\
**Post date:** [June 9, 2021, 12:33pm UTC](https://community.bitquery.io/t/search-pancake-for-list-of-tokens/136/1 "2021-06-09T12:33:09Z")

</div>

So I have basic token search working, trying to figure out how to only search against tokens in PancakeSwap, anyone have an idea?

query TokenSearch($search: String!, $network: Network) {  
search(string: $search, network: $network) {  
network {  
network  
}  
subject {  
\_\_typename  
… on Address {  
address  
annotation  
}  
… on Currency {  
symbol  
name  
address  
tokenId  
tokenType  
}  
… on SmartContract {  
address  
annotation  
contractType  
protocol  
}  
… on TransactionHash {  
hash  
}  
}  
}  
}
