{"id":112,"date":"2021-03-30T03:49:49","date_gmt":"2021-03-30T03:49:49","guid":{"rendered":"http:\/\/www.offerslook.com\/support\/?p=112"},"modified":"2022-07-11T10:12:57","modified_gmt":"2022-07-11T10:12:57","slug":"get-offers-via-api-for-affiliate","status":"publish","type":"post","link":"https:\/\/www.offerslook.com\/support\/get-offers-via-api-for-affiliate\/","title":{"rendered":"Get Offers via API (For Affiliate)"},"content":{"rendered":"<p><span style=\"font-family: arial, helvetica, sans-serif; font-size: 16px;\">When you are doing integration via API, as an affiliate, you might counter a basic problem, how to pull offers.<\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif; font-size: 16px;\">In this article, we will introduce how to pull offers.<\/span><\/p>\n<ol>\n<li><span style=\"font-family: arial, helvetica, sans-serif; font-size: 16px;\">Get Public Offer + Your Approval Offer + Private Offer<\/span><\/li>\n<\/ol>\n<pre><em><span style=\"font-family: arial, helvetica, sans-serif; font-size: 16px; color: #000000;\">https:\/\/yourAPIdomain\/aff\/v1\/batches\/offers?contains=description&amp;type=personal&amp;offset=1&amp;limit=100<\/span><\/em><\/pre>\n<ol start=\"2\">\n<li><span style=\"font-family: arial, helvetica, sans-serif; font-size: 16px;\">Get Public Offer:<\/span><\/li>\n<\/ol>\n<pre><em><span style=\"font-family: arial, helvetica, sans-serif; font-size: 16px; color: #000000;\">https:\/\/yourAPIdomain\/aff\/v1\/batches\/offers?contains=description&amp;type=personal&amp;offset=1&amp;limit=100&amp;filters[offer_approval]=2<\/span><\/em><\/pre>\n<ol start=\"3\">\n<li><span style=\"font-family: arial, helvetica, sans-serif; font-size: 16px;\">Get Require Approval Offer:<\/span><\/li>\n<\/ol>\n<pre><em><span style=\"color: #000000;\"><span style=\"font-family: arial, helvetica, sans-serif; font-size: 16px;\">https:\/\/yourAPIdomain\/aff\/v1\/batches\/offers?contains=description&amp;type=personal&amp;offset=1&amp;limit=100&amp;filters[offer_approval]=1<\/span><\/span><\/em><\/pre>\n<ol start=\"4\">\n<li><span style=\"font-family: arial, helvetica, sans-serif; font-size: 16px;\">Get Private Offer:<\/span><\/li>\n<\/ol>\n<pre><em><span style=\"font-family: arial, helvetica, sans-serif; font-size: 16px; color: #000000;\">https:\/\/yourAPIdomain\/aff\/v1\/batches\/offers?contains=description&amp;type=personal&amp;offset=1&amp;limit=100&amp;filters[offer_approval]=3<\/span><\/em><\/pre>\n<p>&nbsp;<\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif; font-size: 16px;\">Some explanations of parameters are as follows:<\/span><\/p>\n<ul style=\"list-style-type: disc;\">\n<li><span style=\"font-family: arial, helvetica, sans-serif; font-size: 16px;\">type=personal : Access offers which can be run;<\/span><\/li>\n<li><span style=\"font-family: arial, helvetica, sans-serif; font-size: 16px;\">limit=100: One page with 100 results(100 is maximum);<\/span><\/li>\n<li><span style=\"font-family: arial, helvetica, sans-serif; font-size: 16px;\">offset=1: Request result of the first page.<\/span><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif; font-size: 16px; color: #000000;\">Please get the Api domain and Api key in Affiliate panel.<\/span><\/p>\n<p><img loading=\"lazy\" class=\"alignnone wp-image-906\" src=\"https:\/\/www.offerslook.com\/support\/wp-content\/uploads\/2021\/03\/WechatIMG191.png\" alt=\"\" width=\"830\" height=\"376\" srcset=\"https:\/\/www.offerslook.com\/support\/wp-content\/uploads\/2021\/03\/WechatIMG191.png 2572w, https:\/\/www.offerslook.com\/support\/wp-content\/uploads\/2021\/03\/WechatIMG191-300x136.png 300w, https:\/\/www.offerslook.com\/support\/wp-content\/uploads\/2021\/03\/WechatIMG191-1024x464.png 1024w, https:\/\/www.offerslook.com\/support\/wp-content\/uploads\/2021\/03\/WechatIMG191-768x348.png 768w, https:\/\/www.offerslook.com\/support\/wp-content\/uploads\/2021\/03\/WechatIMG191-1536x696.png 1536w, https:\/\/www.offerslook.com\/support\/wp-content\/uploads\/2021\/03\/WechatIMG191-2048x928.png 2048w, https:\/\/www.offerslook.com\/support\/wp-content\/uploads\/2021\/03\/WechatIMG191-900x408.png 900w\" sizes=\"(max-width: 830px) 100vw, 830px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 16px; font-family: arial, helvetica, sans-serif;\">For more detail, \u00a0please\u00a0check our API document\uff1a<em><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"https:\/\/offerslook-api.gitbook.io\/api-documentation\/affiliate_api\">https:\/\/offers<\/a><\/span><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"https:\/\/offerslook-api.gitbook.io\/api-documentation\/affiliate_api\">look-api.gitbook.io\/api-documentation\/affiliate_api<\/a><\/span><\/em><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you are doing i...<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[65],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v15.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Get Offers via API (For Affiliate) | Help Center<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.offerslook.com\/support\/get-offers-via-api-for-affiliate\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Get Offers via API (For Affiliate) | Help Center\" \/>\n<meta property=\"og:description\" content=\"When you are doing i...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.offerslook.com\/support\/get-offers-via-api-for-affiliate\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:published_time\" content=\"2021-03-30T03:49:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-07-11T10:12:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.offerslook.com\/support\/wp-content\/uploads\/2021\/03\/WechatIMG191.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data1\" content=\"1\u5206\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.offerslook.com\/support\/#website\",\"url\":\"https:\/\/www.offerslook.com\/support\/\",\"name\":\"Help Center\",\"description\":\"Offerslook\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/www.offerslook.com\/support\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-CN\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.offerslook.com\/support\/get-offers-via-api-for-affiliate\/#primaryimage\",\"inLanguage\":\"zh-CN\",\"url\":\"https:\/\/www.offerslook.com\/support\/wp-content\/uploads\/2021\/03\/WechatIMG191.png\",\"width\":2572,\"height\":1166},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.offerslook.com\/support\/get-offers-via-api-for-affiliate\/#webpage\",\"url\":\"https:\/\/www.offerslook.com\/support\/get-offers-via-api-for-affiliate\/\",\"name\":\"Get Offers via API (For Affiliate) | Help Center\",\"isPartOf\":{\"@id\":\"https:\/\/www.offerslook.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.offerslook.com\/support\/get-offers-via-api-for-affiliate\/#primaryimage\"},\"datePublished\":\"2021-03-30T03:49:49+00:00\",\"dateModified\":\"2022-07-11T10:12:57+00:00\",\"author\":{\"@id\":\"https:\/\/www.offerslook.com\/support\/#\/schema\/person\/62819052b363256a13a201c816079962\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.offerslook.com\/support\/get-offers-via-api-for-affiliate\/#breadcrumb\"},\"inLanguage\":\"zh-CN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.offerslook.com\/support\/get-offers-via-api-for-affiliate\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.offerslook.com\/support\/get-offers-via-api-for-affiliate\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.offerslook.com\/support\/\",\"url\":\"https:\/\/www.offerslook.com\/support\/\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.offerslook.com\/support\/get-offers-via-api-for-affiliate\/\",\"url\":\"https:\/\/www.offerslook.com\/support\/get-offers-via-api-for-affiliate\/\",\"name\":\"Get Offers via API (For Affiliate)\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.offerslook.com\/support\/#\/schema\/person\/62819052b363256a13a201c816079962\",\"name\":\"master\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.offerslook.com\/support\/#personlogo\",\"inLanguage\":\"zh-CN\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e8c6891dde754fd573d236217f64eccc?s=96&d=mm&r=g\",\"caption\":\"master\"},\"sameAs\":[\"http:\/\/www.offerslook.com\/support\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/www.offerslook.com\/support\/wp-json\/wp\/v2\/posts\/112"}],"collection":[{"href":"https:\/\/www.offerslook.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.offerslook.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.offerslook.com\/support\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.offerslook.com\/support\/wp-json\/wp\/v2\/comments?post=112"}],"version-history":[{"count":11,"href":"https:\/\/www.offerslook.com\/support\/wp-json\/wp\/v2\/posts\/112\/revisions"}],"predecessor-version":[{"id":1043,"href":"https:\/\/www.offerslook.com\/support\/wp-json\/wp\/v2\/posts\/112\/revisions\/1043"}],"wp:attachment":[{"href":"https:\/\/www.offerslook.com\/support\/wp-json\/wp\/v2\/media?parent=112"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.offerslook.com\/support\/wp-json\/wp\/v2\/categories?post=112"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.offerslook.com\/support\/wp-json\/wp\/v2\/tags?post=112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}