{"id":13794,"date":"2022-03-04T17:37:08","date_gmt":"2022-03-04T17:37:08","guid":{"rendered":"https:\/\/algotrading101.com\/learn\/?p=13794"},"modified":"2023-04-03T21:01:21","modified_gmt":"2023-04-03T21:01:21","slug":"opensea-api-guide","status":"publish","type":"post","link":"https:\/\/algotrading101.com\/learn\/opensea-api-guide\/","title":{"rendered":"OpenSea API &#8211; A Basic Guide"},"content":{"rendered":"<div class=\"pvc_clear\"><\/div><p id=\"pvc_stats_13794\" class=\"pvc_stats total_only  \" data-element-id=\"13794\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p><div class=\"pvc_clear\"><\/div>\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/OpenSea-logo-1.webp\" alt=\"OpenSea API Guide\" class=\"wp-image-15829\" width=\"820\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/OpenSea-logo-1.webp 830w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/OpenSea-logo-1-300x73.webp 300w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/OpenSea-logo-1-768x187.webp 768w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/OpenSea-logo-1-825x202.webp 825w\" sizes=\"(max-width: 830px) 100vw, 830px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Table of contents:<\/h3>\n\n\n\n<ol><li><a href=\"#what-is-opensea-api\">What is OpenSea API?<\/a><\/li><li><a href=\"#opensea\">What is OpenSea?<\/a><\/li><li><a href=\"#opensea-api-use\">What is OpenSea API used for?<\/a><\/li><li><a href=\"#opensea-api-pros\">Why should I use OpenSea API?<\/a><\/li><li><a href=\"#opensea-api-cons\">Why shouldn\u2019t I use OpenSea API?<\/a><\/li><li><a href=\"#opensea-api-free\">Is OpenSea API free?<\/a><\/li><li><a href=\"#opensea-api-alternatives\">What are the alternatives to OpenSea API?<\/a><\/li><li><a href=\"#opensea-api-start\">How to get started with OpenSea API?<\/a><\/li><li><a href=\"#opensea-api-assets\">How to obtain assets with OpenSea API?<\/a><\/li><li><a href=\"#opensea-api-bundles\">How to get bundles data with OpenSea API?<\/a><\/li><li><a href=\"#opensea-api-single-asset\">How to obtain a single asset with OpenSea API?<\/a><\/li><li><a href=\"#opensea-api-contract\">How to obtain a contract with OpenSea API?<\/a><\/li><li><a href=\"#opensea-api-events\">How to obtain events with OpenSea API?<\/a><\/li><li><a href=\"#opensea-api-collections\">How to obtain collections with OpenSea API?<\/a><\/li><li><a href=\"#opensea-api-orders\">How to obtain orders with OpenSea API?<\/a><\/li><li><a href=\"#opensea-api-full-code\">Full code<\/a><\/li><\/ol>\n\n\n\n<a name=\"what-is-opensea-api\">\n\n\n\n<h2 class=\"wp-block-heading\">What is OpenSea API?<\/h2>\n\n\n\n<p>The OpenSea API allows us to obtain, find and explore NFT projects on the Ethereum blockchain programmatically via code.<\/p>\n\n\n\n<p>Link: <a href=\"https:\/\/docs.opensea.io\/reference\/api-overview\">https:\/\/docs.opensea.io\/reference\/api-overview<\/a><\/p>\n\n\n\n<a name=\"opensea\">\n\n\n\n<h2 class=\"wp-block-heading\">What is OpenSea?<\/h2>\n\n\n\n<p>OpenSea is an online platform that is used for minting and trading NFTs that are living on the Ethereum blockchain.<\/p>\n\n\n\n<a name=\"opensea-api-use\">\n\n\n\n<h2 class=\"wp-block-heading\">What is OpenSea API used for?<\/h2>\n\n\n\n<p>OpenSea API is used to explore, find, retrieve data and find early NFT projects on OpenSea.<\/p>\n\n\n\n<a name=\"opensea-api-pros\">\n\n\n\n<h2 class=\"wp-block-heading\">Why should I use OpenSea API?<\/h2>\n\n\n\n<ul><li>OpenSea API is free.<\/li><li>OpenSea API is easy to use.<\/li><li>Is beginner-friendly.<\/li><li>Offers guides and tutorials.<\/li><li>Features a well-documented JS SDK.<\/li><\/ul>\n\n\n\n<a name=\"opensea-api-cons\">\n\n\n\n<h2 class=\"wp-block-heading\">Why shouldn\u2019t I use OpenSea API?<\/h2>\n\n\n\n<ul><li>OpenSea API could use more endpoints.<\/li><li>The smart contract side might confuse beginners.<\/li><li>If you want to use the API for production you will need to request an API key.<\/li><\/ul>\n\n\n\n<a name=\"opensea-api-free\">\n\n\n\n<h2 class=\"wp-block-heading\">Is OpenSea API free?<\/h2>\n\n\n\n<p>Yes, the OpenSea API is completely free.<\/p>\n\n\n\n<a name=\"opensea-api-alternatives\">\n\n\n\n<h2 class=\"wp-block-heading\">What are the alternatives to OpenSea API?<\/h2>\n\n\n\n<p>At the time of writing this article, there aren&#8217;t any OpenSea API alternatives. Other NFT platforms like SolSea, Rarible, Mintable&#8230; don&#8217;t feature an API.<\/p>\n\n\n\n<a name=\"opensea-api-start\">\n\n\n\n<h2 class=\"wp-block-heading\">How to get started with OpenSea API?<\/h2>\n\n\n\n<p>To get started with OpenSea API all you need is your favorite programming language and an IDE. For this article, we will use Python with the requests library for pulling data and pandas for data frame creation.<\/p>\n\n\n\n<p>If you want to use the OpenSea API for production, you will need to fill out the form to obtain an API key that has more lenient API rate limits.<\/p>\n\n\n\n<a name=\"opensea-api-assets\">\n\n\n\n<h2 class=\"wp-block-heading\">How to obtain assets with OpenSea API?<\/h2>\n\n\n\n<p>To obtain assets with OpenSea API, you will need to issue a request to the <code>assets<\/code> endpoint. There are several parameters that you can use like the token ids, contract address, order by, order direction, and more.<\/p>\n\n\n\n<p>Let us obtain the first 20 assets in descending order direction:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>import requests\nimport pandas as pd\n\nassets = pd.DataFrame(requests.get(&quot;https:\/\/api.opensea.io\/api\/v1\/assets?order_direction=desc&offset=0&limit=20&quot;).json()[&#39;assets&#39;])\nassets.head().T<\/code><\/pre><\/div>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"613\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/1-min-1024x613.png\" alt=\"\" class=\"wp-image-15821\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/1-min-1024x613.png 1024w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/1-min-300x180.png 300w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/1-min-768x460.png 768w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/1-min.png 1260w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Take note that sorting the data by listing_date will filter out assets that aren&#8217;t for sale, along with assets that are being sold in escrow.<\/p>\n\n\n\n<a name=\"opensea-api-bundles\">\n\n\n\n<h2 class=\"wp-block-heading\">How to get bundles data with OpenSea API?<\/h2>\n\n\n\n<p>To get bundles data with the OpenSea API, you will need to hit the bundles endpoint. Each bundle is represented by a group of assets that are packed together and put for sale. The packing process doesn&#8217;t require gas.<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>bundles = pd.DataFrame(requests.get(&quot;https:\/\/api.opensea.io\/api\/v1\/bundles?limit=10&offset=0&quot;).json()[&#39;bundles&#39;])\nbundles.head().T<\/code><\/pre><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"983\" height=\"543\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/2-min.png\" alt=\"\" class=\"wp-image-15822\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/2-min.png 983w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/2-min-300x166.png 300w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/2-min-768x424.png 768w\" sizes=\"(max-width: 983px) 100vw, 983px\" \/><\/figure>\n\n\n\n<a name=\"opensea-api-single-asset\">\n\n\n\n<h2 class=\"wp-block-heading\">How to obtain a single asset with OpenSea API?<\/h2>\n\n\n\n<p>To obtain a single asset with OpenSea API, you will need to call the <code>asset<\/code> endpoint with the address of the asset&#8217;s contract and the token id. Let us obtain the cryptopunks asset as follows;<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>asset = requests.get(&quot;https:\/\/api.opensea.io\/api\/v1\/asset\/0xb47e3cd837ddf8e4c57f05d70ab865de6e193bbb\/1\/&quot;).json()\nasset<\/code><\/pre><\/div>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"402\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/3-min-1024x402.png\" alt=\"\" class=\"wp-image-15823\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/3-min-1024x402.png 1024w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/3-min-300x118.png 300w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/3-min-768x302.png 768w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/3-min.png 1179w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>If you want to hone into a specific point like the asset description or asset collection you can write:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>asset[&#39;description&#39;]\nasset[&#39;collection&#39;]<\/code><\/pre><\/div>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"525\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/4-min-1024x525.png\" alt=\"\" class=\"wp-image-15824\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/4-min-1024x525.png 1024w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/4-min-300x154.png 300w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/4-min-768x394.png 768w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/4-min.png 1076w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<a name=\"opensea-api-contract\">\n\n\n\n<h2 class=\"wp-block-heading\">How to obtain a contract with OpenSea API?<\/h2>\n\n\n\n<p>To obtain a contract with the OpenSea API, you will need to call upon the <code>asset_contract<\/code> endpoint with the asset contract address provided as a request parameter. To do that, check out the code below:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>requests.get(&quot;https:\/\/api.opensea.io\/api\/v1\/asset_contract\/0x06012c8cf97bead5deae237070f9587f8e7a266d&quot;).json()<\/code><\/pre><\/div>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"462\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/5-min-1024x462.png\" alt=\"\" class=\"wp-image-15825\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/5-min-1024x462.png 1024w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/5-min-300x135.png 300w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/5-min-768x347.png 768w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/5-min.png 1187w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<a name=\"opensea-api-events\">\n\n\n\n<h2 class=\"wp-block-heading\">How to obtain events with OpenSea API?<\/h2>\n\n\n\n<p>The <code>events<\/code> OpenSea API endpoint will return a list of events that are happening on certain assets that are trackable by OpenSea. In the <code>event_type<\/code> the type of the obtained event is specified precisely.<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>events = pd.DataFrame(requests.get(&quot;https:\/\/api.opensea.io\/api\/v1\/events?only_opensea=false&offset=0&limit=10&quot;).json()[&#39;asset_events&#39;])\nevents.head().T<\/code><\/pre><\/div>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"810\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/6-min-1024x810.png\" alt=\"\" class=\"wp-image-15826\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/6-min-1024x810.png 1024w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/6-min-300x237.png 300w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/6-min-768x608.png 768w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/6-min.png 1078w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<a name=\"opensea-api-collections\">\n\n\n\n<h2 class=\"wp-block-heading\">How to obtain collections with OpenSea API?<\/h2>\n\n\n\n<p>To obtain collections with OpenSea API the user will need to send a request to the <code>collections<\/code> endpoint. This API call is useful as you can see which and how many items an account has.<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>collections = pd.DataFrame(requests.get(&quot;https:\/\/api.opensea.io\/api\/v1\/collections?offset=0&limit=10&quot;).json()[&#39;collections&#39;])\ncollections.head().T<\/code><\/pre><\/div>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"684\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/7-min-1024x684.png\" alt=\"\" class=\"wp-image-15827\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/7-min-1024x684.png 1024w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/7-min-300x200.png 300w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/7-min-768x513.png 768w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/7-min.png 1133w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<a name=\"opensea-api-orders\">\n\n\n\n<h2 class=\"wp-block-heading\">How to obtain orders with OpenSea API?<\/h2>\n\n\n\n<p>To obtain orders with OpenSea API, you will need to access the OpenSea order book <code>orders <\/code>endpoint. There are many parameters that you can utilize to customize your retrieved data and they can be explored <a href=\"https:\/\/docs.opensea.io\/reference\/retrieving-orders\">here<\/a>.<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>orders = pd.DataFrame(requests.get(&quot;https:\/\/api.opensea.io\/wyvern\/v1\/orders?bundled=false&include_bundled=false&include_invalid=false&limit=10&offset=0&order_by=created_date&order_direction=desc&quot;,\n                     headers = {&quot;Accept&quot;:&quot;application\/json&quot;}\n                                ).json()[&#39;orders&#39;]\n                     )\norders.head().T<\/code><\/pre><\/div>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"677\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/8-min-1024x677.png\" alt=\"\" class=\"wp-image-15828\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/8-min-1024x677.png 1024w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/8-min-300x198.png 300w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/8-min-768x508.png 768w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/07\/8-min.png 1234w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<a name=\"opensea-api-full-code\">\n\n\n\n<h2 class=\"wp-block-heading\">Full code<\/h2>\n\n\n\n<p><a href=\"https:\/\/github.com\/IgorWounds\/OpenSea-API-Algotrading101\">GitHub link<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_13794\" class=\"pvc_stats total_only  \" data-element-id=\"13794\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n<p>Table of contents: What is OpenSea API? What is OpenSea? What is OpenSea API used for? Why should I use OpenSea API? Why shouldn\u2019t I use OpenSea API? Is OpenSea API free? What are the alternatives to OpenSea API? How to get started with OpenSea API? How to obtain assets with OpenSea API? How to [&hellip;]<\/p>\n","protected":false},"author":14,"featured_media":13800,"comment_status":"closed","ping_status":"open","sticky":true,"template":"","format":"standard","meta":{"_lmt_disableupdate":"no","_lmt_disable":"no","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[3,2],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>OpenSea API - A Basic Guide - AlgoTrading101 Blog<\/title>\n<meta name=\"description\" content=\"programmatically via code.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/algotrading101.com\/learn\/opensea-api-guide\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"OpenSea API - A Basic Guide - AlgoTrading101 Blog\" \/>\n<meta property=\"og:description\" content=\"programmatically via code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/algotrading101.com\/learn\/opensea-api-guide\/\" \/>\n<meta property=\"og:site_name\" content=\"Quantitative Trading Ideas and Guides - AlgoTrading101 Blog\" \/>\n<meta property=\"article:published_time\" content=\"2022-03-04T17:37:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-04-03T21:01:21+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/03\/OpenSea-api-guide.png\" \/>\n\t<meta property=\"og:image:width\" content=\"600\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Igor Radovanovic\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Igor Radovanovic\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"OpenSea API - A Basic Guide - AlgoTrading101 Blog","description":"programmatically via code.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/algotrading101.com\/learn\/opensea-api-guide\/","og_locale":"en_US","og_type":"article","og_title":"OpenSea API - A Basic Guide - AlgoTrading101 Blog","og_description":"programmatically via code.","og_url":"https:\/\/algotrading101.com\/learn\/opensea-api-guide\/","og_site_name":"Quantitative Trading Ideas and Guides - AlgoTrading101 Blog","article_published_time":"2022-03-04T17:37:08+00:00","article_modified_time":"2023-04-03T21:01:21+00:00","og_image":[{"width":600,"height":400,"url":"http:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2022\/03\/OpenSea-api-guide.png","type":"image\/png"}],"author":"Igor Radovanovic","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Igor Radovanovic","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/algotrading101.com\/learn\/opensea-api-guide\/#article","isPartOf":{"@id":"https:\/\/algotrading101.com\/learn\/opensea-api-guide\/"},"author":{"name":"Igor Radovanovic","@id":"https:\/\/algotrading101.com\/learn\/#\/schema\/person\/a7ae60c112a73b7c3fe14ac56726a0ae"},"headline":"OpenSea API &#8211; A Basic Guide","datePublished":"2022-03-04T17:37:08+00:00","dateModified":"2023-04-03T21:01:21+00:00","mainEntityOfPage":{"@id":"https:\/\/algotrading101.com\/learn\/opensea-api-guide\/"},"wordCount":719,"publisher":{"@id":"https:\/\/algotrading101.com\/learn\/#organization"},"articleSection":["Programming","Trading"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/algotrading101.com\/learn\/opensea-api-guide\/","url":"https:\/\/algotrading101.com\/learn\/opensea-api-guide\/","name":"OpenSea API - A Basic Guide - AlgoTrading101 Blog","isPartOf":{"@id":"https:\/\/algotrading101.com\/learn\/#website"},"datePublished":"2022-03-04T17:37:08+00:00","dateModified":"2023-04-03T21:01:21+00:00","description":"programmatically via code.","breadcrumb":{"@id":"https:\/\/algotrading101.com\/learn\/opensea-api-guide\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/algotrading101.com\/learn\/opensea-api-guide\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/algotrading101.com\/learn\/opensea-api-guide\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/algotrading101.com\/learn\/"},{"@type":"ListItem","position":2,"name":"OpenSea API &#8211; A Basic Guide"}]},{"@type":"WebSite","@id":"https:\/\/algotrading101.com\/learn\/#website","url":"https:\/\/algotrading101.com\/learn\/","name":"Quantitative Trading Ideas and Guides - AlgoTrading101 Blog","description":"Authentic Stories about Algorithmic trading, coding and life.","publisher":{"@id":"https:\/\/algotrading101.com\/learn\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/algotrading101.com\/learn\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/algotrading101.com\/learn\/#organization","name":"AlgoTrading101","url":"https:\/\/algotrading101.com\/learn\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/algotrading101.com\/learn\/#\/schema\/logo\/image\/","url":"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2020\/11\/AlgoTrading101-Lucas-Liew.jpg","contentUrl":"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2020\/11\/AlgoTrading101-Lucas-Liew.jpg","width":1200,"height":627,"caption":"AlgoTrading101"},"image":{"@id":"https:\/\/algotrading101.com\/learn\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/algotrading101.com\/learn\/#\/schema\/person\/a7ae60c112a73b7c3fe14ac56726a0ae","name":"Igor Radovanovic","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/algotrading101.com\/learn\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d46175c509b3ee240a1e2bbe735a4d1e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d46175c509b3ee240a1e2bbe735a4d1e?s=96&d=mm&r=g","caption":"Igor Radovanovic"},"sameAs":["https:\/\/igorradovanovic.com","https:\/\/www.linkedin.com\/in\/igor-radovanovic-profile"],"url":"https:\/\/algotrading101.com\/learn\/author\/igor\/"}]}},"modified_by":"Igor Radovanovic","_links":{"self":[{"href":"https:\/\/algotrading101.com\/learn\/wp-json\/wp\/v2\/posts\/13794"}],"collection":[{"href":"https:\/\/algotrading101.com\/learn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/algotrading101.com\/learn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/algotrading101.com\/learn\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/algotrading101.com\/learn\/wp-json\/wp\/v2\/comments?post=13794"}],"version-history":[{"count":4,"href":"https:\/\/algotrading101.com\/learn\/wp-json\/wp\/v2\/posts\/13794\/revisions"}],"predecessor-version":[{"id":21142,"href":"https:\/\/algotrading101.com\/learn\/wp-json\/wp\/v2\/posts\/13794\/revisions\/21142"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/algotrading101.com\/learn\/wp-json\/wp\/v2\/media\/13800"}],"wp:attachment":[{"href":"https:\/\/algotrading101.com\/learn\/wp-json\/wp\/v2\/media?parent=13794"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/algotrading101.com\/learn\/wp-json\/wp\/v2\/categories?post=13794"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/algotrading101.com\/learn\/wp-json\/wp\/v2\/tags?post=13794"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}