{"id":2717,"date":"2020-12-26T13:00:00","date_gmt":"2020-12-26T13:00:00","guid":{"rendered":"https:\/\/chewett.co.uk\/blog\/?p=2717"},"modified":"2020-12-17T23:50:24","modified_gmt":"2020-12-17T23:50:24","slug":"pokemon-go-api-friendship-level-settings-api","status":"publish","type":"post","link":"https:\/\/chewett.co.uk\/blog\/2717\/pokemon-go-api-friendship-level-settings-api\/","title":{"rendered":"Pokemon Go API &#8211; Friendship Level Settings API"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"678\" height=\"254\" data-attachment-id=\"2723\" data-permalink=\"https:\/\/chewett.co.uk\/blog\/2717\/pokemon-go-api-friendship-level-settings-api\/pogo_api_header_friendship_level_settings\/\" data-orig-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_header_friendship_level_settings.jpg?fit=800%2C300&amp;ssl=1\" data-orig-size=\"800,300\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"pogo_api_header_friendship_level_settings\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_header_friendship_level_settings.jpg?fit=300%2C113&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_header_friendship_level_settings.jpg?fit=678%2C254&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_header_friendship_level_settings.jpg?resize=678%2C254&#038;ssl=1\" alt=\"\" class=\"wp-image-2723\" srcset=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_header_friendship_level_settings.jpg?w=800&amp;ssl=1 800w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_header_friendship_level_settings.jpg?resize=300%2C113&amp;ssl=1 300w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_header_friendship_level_settings.jpg?resize=768%2C288&amp;ssl=1 768w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_header_friendship_level_settings.jpg?resize=50%2C19&amp;ssl=1 50w\" sizes=\"auto, (max-width: 678px) 100vw, 678px\" \/><\/figure>\n\n\n\n<p>This post talks about the latest API I have added to PoGoAPI.net, the Friendship Level Settings API.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">What is the Friendship Level Settings API<\/h2>\n\n\n\n<p>When playing Pokemon Go you can add other players as friends. The first time you interact each day you will gain a point in your friendship value.<\/p>\n\n\n\n<p>As your friendship points increase you will gain new friendship levels which will bring additional benefits.<\/p>\n\n\n\n<p>By improving your friendship levels you are able to gain additional raid balls, reduce stardust spent when trading, and trade rarer Pokemon between the two friends.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Getting the Friendship Level Settings data<\/h2>\n\n\n\n<p>This API returns current friendship levels and the benefits and information associated with being friends with someone at each level.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">GET <code>\/api\/v1\/<code><code>friendship_level_settings<\/code><\/code>.json<\/code><\/h3>\n\n\n\n<p>Returns a JSON array of objects. Each object will have the the following keys:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>allowed_trades &#8211; A list of Pokemon categories that you are allowed to trade at your friendship level<\/li><li>attack_bonus &#8211; Attack multiplier that will be applied when raiding with a friend at this level<\/li><li>friendship_level &#8211; Friendship level number, this starts from 0 for someone with 0 friendship points<\/li><li>friendship_points_required &#8211; The minimum friendship points to attain the friendship level<\/li><li>name &#8211; Name of the friendship level<\/li><li>raid_ball_bonus &#8211; The number of raid balls you will gain if raiding with a friend with this level<\/li><li>trading_discount &#8211; The stardust discount when trading a Pokemon with this level friend. 0.96 means the cost will be 96% cheaper than normal.<\/li><li>xp_reward &#8211; The XP reward given when reaching this level of friendship<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Example data<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\n&#x5B;\n     {\n        &quot;allowed_trades&quot;: &#x5B;\n            &quot;Regular Pokemon in Pokedex&quot;\n        ],\n        &quot;attack_bonus&quot;: 1.0,\n        &quot;friendship_level&quot;: 0,\n        &quot;friendship_points_required&quot;: 0,\n        &quot;name&quot;: &quot;Friend&quot;,\n        &quot;raid_ball_bonus&quot;: 0,\n        &quot;trading_discount&quot;: 0,\n        &quot;xp_reward&quot;: 1000\n    },\n    {\n        &quot;allowed_trades&quot;: &#x5B;\n            &quot;Regular Pokemon in Pokedex&quot;,\n            &quot;Legendary or Shiny Pokemon in Pokedex&quot;,\n            &quot;All regular Pokemon&quot;,\n            &quot;All regional Pokemon&quot;,\n            &quot;All Pokemon form variants&quot;,\n            &quot;All Legendary Pokemon&quot;,\n            &quot;All Shiny Pokemon&quot;\n        ],\n        &quot;attack_bonus&quot;: 1.03,\n        &quot;friendship_level&quot;: 1,\n        &quot;friendship_points_required&quot;: 1,\n        &quot;name&quot;: &quot;Good Friend&quot;,\n        &quot;raid_ball_bonus&quot;: 0,\n        &quot;trading_discount&quot;: 0,\n        &quot;xp_reward&quot;: 3000\n    },  ...\n]\n<\/pre><\/div>\n\n\n<p id=\"block-c7ab1e16-3ce1-4b17-8319-614af6909736\">The full documentation&nbsp;is available on the&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/pogoapi.net\/documentation\/\" target=\"_blank\">PoGoAPI.net documentation&nbsp;page<\/a>.<\/p>\n\n\n\n<p id=\"block-4f57b0fd-e581-47c8-8062-60b8863f3393\">If you have any questions about this API or suggestions for other API\u2019s contact me here below or on Twitter!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This post talks about the latest API I have added to PoGoAPI.net, the Friendship Level Settings API.<\/p>\n","protected":false},"author":1,"featured_media":2728,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"Today I am talking about the latest #PokemonGo #API I have added to PoGoAPI.net the Friendship Level Settings API","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[98],"tags":[226,227,224,223,218,225],"class_list":["post-2717","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","tag-api","tag-open-data","tag-pogoapi","tag-pokemon","tag-pokemon-go","tag-pokemon-go-api"],"wppr_data":{"cwp_meta_box_check":"No"},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_friendship_level_settings_posticon_OUTPUT.png?fit=1200%2C628&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p2toWX-HP","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":2712,"url":"https:\/\/chewett.co.uk\/blog\/2712\/pokemon-go-api-raid-settings-api\/","url_meta":{"origin":2717,"position":0},"title":"Pokemon Go API &#8211; Raid Settings API","author":"Chewett","date":"November 28, 2020","format":false,"excerpt":"This post talks about the latest API I have added to PoGoAPI.net, the Raid Settings API. What is the Raid Settings API In Pokemon Go gyms will sometimes spawn raids which allow multiple players to fight a raid boss. The settings for Pokemon Go raids are encoded into the app\u2026","rel":"","context":"In &quot;Software&quot;","block_context":{"text":"Software","link":"https:\/\/chewett.co.uk\/blog\/category\/software\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_raid_settings_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_raid_settings_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_raid_settings_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_raid_settings_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_raid_settings_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":2715,"url":"https:\/\/chewett.co.uk\/blog\/2715\/pokemon-go-api-mega-evolution-settings-api\/","url_meta":{"origin":2717,"position":1},"title":"Pokemon Go API &#8211; Mega Evolution Settings API","author":"Chewett","date":"December 12, 2020","format":false,"excerpt":"This post talks about the latest API I have added to PoGoAPI.net, the Mega Evolution Settings API. What is the Mega Evolution Settings API For Pokemon that can Mega Evolve there are a number of game settings that are applied to them. This API lets you obtain the current Mega\u2026","rel":"","context":"In &quot;Software&quot;","block_context":{"text":"Software","link":"https:\/\/chewett.co.uk\/blog\/category\/software\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_mega_evolution_settings_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_mega_evolution_settings_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_mega_evolution_settings_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_mega_evolution_settings_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_mega_evolution_settings_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":2720,"url":"https:\/\/chewett.co.uk\/blog\/2720\/pokemon-go-api-go-battle-rankings-settings-api\/","url_meta":{"origin":2717,"position":2},"title":"Pokemon Go API &#8211; Go Battle Rankings Settings API","author":"Chewett","date":"January 9, 2021","format":false,"excerpt":"This post talks about the latest API I have added to PoGoAPI.net, the Mega Evolution Settings API. What are the Go Battle Rankings Settings API In Pokemon Go you are able to fight in the Battle League against other trainers. Here you battle in sets of five matches to receive\u2026","rel":"","context":"In &quot;Software&quot;","block_context":{"text":"Software","link":"https:\/\/chewett.co.uk\/blog\/category\/software\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_go_battle_rankings_settings_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_go_battle_rankings_settings_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_go_battle_rankings_settings_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_go_battle_rankings_settings_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_go_battle_rankings_settings_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":1817,"url":"https:\/\/chewett.co.uk\/blog\/1817\/pokemon-go-api-powerup-requirements-api\/","url_meta":{"origin":2717,"position":3},"title":"Pokemon Go API \u2013 Powerup Requirements API","author":"Chewett","date":"March 13, 2019","format":false,"excerpt":"This post talks about the newest Pokemon Go API, the Powerup Requirements API at\u00a0pogoapi.net. Powerup Requirements To power up a pokemon you need to pay some stardust and candy. Each time you power up a Pokemon you increase its level by a half. Pokemon can be powered up to two\u2026","rel":"","context":"In &quot;Software&quot;","block_context":{"text":"Software","link":"https:\/\/chewett.co.uk\/blog\/category\/software\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/12\/pogo_api_powerup_requirements-1.jpg?fit=800%2C800&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/12\/pogo_api_powerup_requirements-1.jpg?fit=800%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/12\/pogo_api_powerup_requirements-1.jpg?fit=800%2C800&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/12\/pogo_api_powerup_requirements-1.jpg?fit=800%2C800&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":2573,"url":"https:\/\/chewett.co.uk\/blog\/2573\/pokemon-go-api-combat-points-cp-multiplier-api\/","url_meta":{"origin":2717,"position":4},"title":"Pokemon Go API &#8211; Combat Points (CP) Multiplier API","author":"Chewett","date":"July 11, 2020","format":false,"excerpt":"This post talks about the latest API I have added to PoGoAPI.net, the Combat Points (CP) Multiplier API. What the CP Multiplier API can be used for For each level and half level the Combat Points of a Pokemon is defined by its stats, level and a hidden multiplier. Using\u2026","rel":"","context":"In &quot;Software&quot;","block_context":{"text":"Software","link":"https:\/\/chewett.co.uk\/blog\/category\/software\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/07\/pogo_api_cp_multiplier_posticon.jpg?fit=1200%2C628&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/07\/pogo_api_cp_multiplier_posticon.jpg?fit=1200%2C628&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/07\/pogo_api_cp_multiplier_posticon.jpg?fit=1200%2C628&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/07\/pogo_api_cp_multiplier_posticon.jpg?fit=1200%2C628&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/07\/pogo_api_cp_multiplier_posticon.jpg?fit=1200%2C628&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":2856,"url":"https:\/\/chewett.co.uk\/blog\/2856\/pokemon-go-api-powerup-requirements-updated-for-level-50\/","url_meta":{"origin":2717,"position":5},"title":"Pokemon Go API \u2013 Powerup Requirements updated for Level 50","author":"Chewett","date":"March 20, 2021","format":false,"excerpt":"This talks about the changes to the Powerup Requirements API at PoGoAPI.net that have been made to handle level 40-50 power up. Powering up Pokemon between level 40 and 50 To power a Pokemon above level 40 you now need to collect and use XL candy. This is gained from\u2026","rel":"","context":"In &quot;Software&quot;","block_context":{"text":"Software","link":"https:\/\/chewett.co.uk\/blog\/category\/software\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/pogoapi_lvl50_powerup_requirements_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/pogoapi_lvl50_powerup_requirements_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/pogoapi_lvl50_powerup_requirements_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/pogoapi_lvl50_powerup_requirements_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/pogoapi_lvl50_powerup_requirements_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/posts\/2717","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=2717"}],"version-history":[{"count":3,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/posts\/2717\/revisions"}],"predecessor-version":[{"id":2732,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/posts\/2717\/revisions\/2732"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/media\/2728"}],"wp:attachment":[{"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=2717"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=2717"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=2717"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}