Search Usability Fix: Address, tokenId, and type

We’ve added more fields to the search result document.

We’ve added new fields to the search result document:

  • type: Collection or Asset
  • address : The NFT contract’s address
  • tokenId: The NFT token ID, if the result is an asset.
$ curl <https://api.center.dev/v1/ethereum-mainnet/search?query=meebits+12&type=asset>
{
  "results": [
    {
      "id": "ethereum-mainnet/0x7Bd29408f11D2bFC23c34f18275bBf23bB716Bc7/12",
      "name": "Meebit #12",
      "previewImageUrl": "<https://cdn.center.app/1/0x7Bd29408f11D2bFC23c34f18275bBf23bB716Bc7/12/a5fbd22d8a8c89db66d26300615e2b7cae18c7c06e914e6e518da0e9dd1ebf45.jpeg>",
      "relevance": 14.188332,
      "url": "<https://center.app/collections/0x7Bd29408f11D2bFC23c34f18275bBf23bB716Bc7/12>",
      "address": "0x7Bd29408f11D2bFC23c34f18275bBf23bB716Bc7",
      "tokenId": "12",
      "type": "Asset"
    },
    ...
  ]
}
$ curl <https://api.center.dev/v1/ethereum-mainnet/search?query=bayc&type=collection>
{
  "results": [
    {
      "id": "ethereum-mainnet/0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D",
      "name": "BoredApeYachtClub",
      "previewImageUrl": "<https://cdn.center.app/1/0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D/3746/5de4b840fc2bd496bb57fe01c7e1562e696e6b1902dc4fef03cbd8b9ce4dcd81.png>",
      "relevance": 17.5425,
      "url": "<https://center.app/collections/0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D>",
      "address": "0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D",
      "type": "Collection"
    },
    ...
  ]
}

Other requests or ideas? Please submit a feature request or reach out to our support team.

Get started

The next great application is waiting to to be built:

About Center

Center is a multi-chain, high-performance NFT API designed with speed and developer productivity in mind. Our seasoned team has working experience at Coinbase, WhatsApp, Facebook, Google, Square and Paradigm. We’ve led teams and built products where scalability, performance, and security are paramount — and we bring that mindset to everything we build.

To date, Center has indexed over 150TB of NFTs across 14 chains. We offer a a 99.999% uptime SLA and support users ranging from individual hackers to large enterprises.

Our APIs also power center.app, an NFT search engine that we are building. We encourage you to check it out!

What is an NFT API?

https://storage.googleapis.com/center-inc-blog-media/public/media/2022-07-09-api.jpg

Building NFT-related applications from scratch is complicated. It might require indexing multiple chains, ingesting vast quantities of data, and meticulously building low-level infrastructure to ensure all of the data is processed correctly. This could take engineers months to get right before they even start building an application.

Our APIs allow builders to abstract away this complexity and focus on building useful products for end users right away— we take care of the infrastructure and low-level technical details. With just a few lines of code, builders can use our APIs for a range of use cases including NFT rendering, search and data retrieval.

Our Investors

https://storage.googleapis.com/center-inc-blog-media/public/media/2022-07-09-one.png

Our Team

https://storage.googleapis.com/center-inc-blog-media/public/media/2022-07-09-two.png