> For the complete documentation index, see [llms.txt](https://phunks.gitbook.io/knowledge-base/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://phunks.gitbook.io/knowledge-base/built-by-phunks/for-the-pham/phunky/phunky-data.md).

# PHUNKY DATA

Need Phunk data for a site but either don’t want to or don’t know how to write an API layer? \
I got you covered..... by [@tbc\_eth](https://twitter.com/tbc_eth)

{% code fullWidth="true" %}

```java
Endpoint: 
https://data.phunky.dev/

Full return (Paginated): 
https://data.phunky.dev/api/v2-phunks-nfts

Find One:
/api/v2-phunks-nfts/{:id}
i.e. https://data.phunky.dev/api/v2-phunks-nfts/69

How to filter:
https://docs.strapi.io/developer-docs/latest/developer-resources/database-apis-reference/rest/api-parameters.html

All Hoodies w/ Cigarettes
https://data.phunky.dev/api/v2-phunks-nfts?filters[hair][$eqi]=hoodie&filters[mouth][$eqi]=cigarette

All Aliens w/ Earrings
https://data.phunky.dev/api/v2-phunks-nfts?filters[sex][$eqi]=alien&filters[ears][$eqi]=earring

All 4T w/ Fedoras
https://data.phunky.dev/api/v2-phunks-nfts?filters[hair][$eqi]=fedora&filters[traitTag][$eq]=4T

Extract Data: 
https://data.phunky.dev/api/smart-contracts

api/smart-contracts
api/spotlights
api/v2-phunks-nfts
api/v2-phunks-nfts/{:id}
api/v3-phunks-nfts
api/v3-phunks-nfts/{:id}

Link to examples and how to filter/search: 
https://github.com/theblockchaineth/PhunkyData/blob/main/examples.md
```

{% endcode %}

{% hint style="info" %}
Run by whoever, wherever, whenever - Servers have to be centralized but their definition and the ability to spin one up doesn't have to be. Want to add a new processor, datasource, or static content? Contribute to the [repo](https://github.com/theblockchaineth/PhunkyData) or fork and go!
{% endhint %}

***

## <mark style="color:blue;">`LINKS`</mark>

<details>

<summary>GitHub</summary>

<https://github.com/theblockchaineth/PhunkyData>

</details>

<details>

<summary>Examples</summary>

<https://github.com/theblockchaineth/PhunkyData/blob/main/examples.md>

</details>

***

## <mark style="color:blue;">`RETROSPECTIVE`</mark>

{% embed url="<https://twitter.com/tbc_eth/status/1617753342511575040?s=20&t=1amiepW5oPGUP3CgpGWZXw>" %}
[CLICK FOR MORE](https://twitter.com/tbc_eth/status/1617753342511575040?s=20\&t=1amiepW5oPGUP3CgpGWZXw)
{% endembed %}
