{"id":22302,"date":"2020-09-07T11:57:25","date_gmt":"2020-09-07T18:57:25","guid":{"rendered":"https:\/\/careerkarma.com\/blog\/?p=22302"},"modified":"2023-12-01T03:59:27","modified_gmt":"2023-12-01T11:59:27","slug":"python-max-index","status":"publish","type":"post","link":"https:\/\/careerkarma.com\/blog\/python-max-index\/","title":{"rendered":"Python: Retrieve the Index of the Max Value in a List"},"content":{"rendered":"\n<p>Through indexing, you can retrieve an item or range of items from a list. You can only retrieve a specific item from a list if you know the index number associated with that value.<br><\/p>\n\n\n\n<p>To find the index value of the largest item in a list, you can use the <code>max()<\/code> and <code>index()<\/code> methods. This guide walks you through a program that retrieves the index value of the maximum element in a list.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Python: Retrieve the Index Value of the Max Value in a List<\/h2>\n\n\n\n<p>Write a program that retrieves the name of the student who earned the highest grade on their last math test. This name is then printed to the console.<br><\/p>\n\n\n\n<p>To begin, <a href=\"https:\/\/careerkarma.com\/blog\/python-array\/\">lcreate two lists<\/a>:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>students = [&quot;Andy&quot;, &quot;April&quot;, &quot;Julia&quot;, &quot;Gary&quot;]\ngrades = [75, 82, 64, 68]<\/pre><\/div>\n\n\n\n<p>The first list contains the names of the students in the class. The second list contains their respective grades.<br><\/p>\n\n\n\n<p>These lists are parallel arrays, which means that both of the arrays are the same size and each value represents part of a record. \u201cstudents\u201d contains names and \u201cgrades\u201d contains the grades those students have earned.<br><\/p>\n\n\n\n<p>Next, find the largest grade in the list. You can use the <a href=\"https:\/\/careerkarma.com\/blog\/python-min-and-max\/\">max() function<\/a> to find the largest grade in the list:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>largest = max(grades)<\/pre><\/div>\n\n\n\n<p>This code retrieves the largest number. This is not exactly ideal. You want to retrieve the index position of the largest number. To do that, employ the use of another built-in function: <a href=\"https:\/\/careerkarma.com\/blog\/python-index\/\">index()<\/a>. Let\u2019s retrieve the index value of the largest item in the list:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>index_of_largest = grades.index(largest)<\/pre><\/div>\n\n\n\n<p>Because the two lists are parallel, the index number of the highest grade in the \u201cgrades\u201d list is the same as the index number of the student who earned that grade in the \u201cstudents\u201d list.<br><\/p>\n\n\n\n<p>Next, print a message to the console which tells us who earned the highest grade:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>print(&quot;{} earned the highest grade in the class. Their grade was {}.&quot;.format(students[index_of_largest], largest))<\/pre><\/div>\n\n\n\n<p>Use indexing syntax to retrieve the name of the student who earned the highest grade. Then add this value and the grade they earned into a string.<br><\/p>\n\n\n\n<p>Run the program and see what happens:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>April earned the highest grade in the class. Their grade was 82.<\/pre><\/div>\n\n\n\n<p>The code successfully identifies the student who has earned the highest grade. To find the index of minimum elements, you could substitute the <code>max()<\/code> function for <code>min()<\/code>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Find Multiple Indexes Equal to Max Value<\/h2>\n\n\n\n<p>What happens if there are two students who have the highest grade? The above program only returns the index position of the first student who has earned a particular grade.<br><\/p>\n\n\n\n<p>To find the occurrences of all students who have earned a particular grade, you can use a list comprehension. Start by initializing the values and retrieving the index value of the largest item in the list like earlier:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>students = [&quot;Andy&quot;, &quot;April&quot;, &quot;Julia&quot;, &quot;Gary&quot;, &quot;Paul&quot;]\ngrades = [75, 82, 64, 68, 82]\nlargest = max(grades)<\/pre><\/div>\n\n\n\n<p>You\u2019ve added one record to see what happens if two students have the same grade in the new program.<br><\/p>\n\n\n\n<p>Next, write a <a href=\"https:\/\/careerkarma.com\/blog\/python-list-comprehension\/\">list comprehension<\/a>. This list comprehension finds the index positions of all the students who earned a particular grade:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>all_grades = [g for g, x in enumerate(grades) if x == largest]<\/pre><\/div>\n\n\n\n<p>This code iterates through every grade in the \u201cgrades\u201d list. Each grade is compared to the largest value in the \u201cgrades\u201d list. If a value is equal to the highest grade, it is added to the list.<br><\/p>\n\n\n\n<p>The <code>enumerate()<\/code> function splits our list into two lists: index numbers and values. Thus, \u201cg\u201d represents the index of an item in the list and \u201cx\u201d represents the value of an item.<br><\/p>\n\n\n\n<p>Next, use a <a href=\"https:\/\/careerkarma.com\/blog\/python-for-loop\/\">for loop<\/a> to print out a message for each student whose grade is equal to the highest grade found:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>for g in all_grades:\n\tprint(&quot;{} earned the highest grade in the class. Their grade was {}.&quot;.format(students[g], grades[g]))<\/pre><\/div>\n\n\n\n<p>If multiple students have earned the highest grade in the class, the for loop will run multiple times. Each time the loop runs, the name of a student is printed to the console with a message saying they earned the highest grade in the class.<br><\/p>\n\n\n\n<p>Run our program:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>April earned the highest grade in the class. Their grade was 82.\nPaul earned the highest grade in the class. Their grade was 82.<\/pre><\/div>\n\n\n\n<p>Our program successfully shows the names of all the students who earned the highest grade in the class.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>You can retrieve the index value of an item in a list using <code>index()<\/code>. Combined with the <code>min()<\/code> or <code>max()<\/code> method, you can find the index value of the smallest or the largest item in a list.<br><\/p>\n\n\n\n<p>Now you have the knowledge you need to retrieve the index value of the max value in a list like a Python expert!<\/p>\n","protected":false},"excerpt":{"rendered":"Through indexing, you can retrieve an item or range of items from a list. You can only retrieve a specific item from a list if you know the index number associated with that value. To find the index value of the largest item in a list, you can use the max() and index() methods. This&hellip;","protected":false},"author":240,"featured_media":22303,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[16578],"tags":[],"class_list":{"0":"post-22302","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-python"},"acf":{"post_sub_title":"","sprint_id":"","query_class":"Python","school_sft":"","parent_sft":"","school_privacy_policy":"","has_review":null,"is_sponser_post":"","is_guest_post":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.0 (Yoast SEO v27.0) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Python: Retrieve the Index of the Max Value in a List | Career Karma<\/title>\n<meta name=\"description\" content=\"On Career Karma, learn how to retrieve the index number of the largest value in a Python list using the max() and index() methods.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/careerkarma.com\/blog\/python-max-index\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python: Retrieve the Index of the Max Value in a List\" \/>\n<meta property=\"og:description\" content=\"On Career Karma, learn how to retrieve the index number of the largest value in a Python list using the max() and index() methods.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/careerkarma.com\/blog\/python-max-index\/\" \/>\n<meta property=\"og:site_name\" content=\"Career Karma\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/facebook.com\/careerkarmaapp\" \/>\n<meta property=\"article:published_time\" content=\"2020-09-07T18:57:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-01T11:59:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/arnold-francisca-nPhl2x4fk2s-unsplash.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1020\" \/>\n\t<meta property=\"og:image:height\" content=\"680\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"James Gallagher\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@career_karma\" \/>\n<meta name=\"twitter:site\" content=\"@career_karma\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"James Gallagher\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-max-index\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-max-index\/\"},\"author\":{\"name\":\"James Gallagher\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"headline\":\"Python: Retrieve the Index of the Max Value in a List\",\"datePublished\":\"2020-09-07T18:57:25+00:00\",\"dateModified\":\"2023-12-01T11:59:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-max-index\/\"},\"wordCount\":689,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-max-index\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/arnold-francisca-nPhl2x4fk2s-unsplash.jpg\",\"articleSection\":[\"Python\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/careerkarma.com\/blog\/python-max-index\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-max-index\/\",\"url\":\"https:\/\/careerkarma.com\/blog\/python-max-index\/\",\"name\":\"Python: Retrieve the Index of the Max Value in a List | Career Karma\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-max-index\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-max-index\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/arnold-francisca-nPhl2x4fk2s-unsplash.jpg\",\"datePublished\":\"2020-09-07T18:57:25+00:00\",\"dateModified\":\"2023-12-01T11:59:27+00:00\",\"author\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"description\":\"On Career Karma, learn how to retrieve the index number of the largest value in a Python list using the max() and index() methods.\",\"breadcrumb\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-max-index\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/careerkarma.com\/blog\/python-max-index\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-max-index\/#primaryimage\",\"url\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/arnold-francisca-nPhl2x4fk2s-unsplash.jpg\",\"contentUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/arnold-francisca-nPhl2x4fk2s-unsplash.jpg\",\"width\":1020,\"height\":680},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-max-index\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\/\/careerkarma.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python\",\"item\":\"https:\/\/careerkarma.com\/blog\/python\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Python: Retrieve the Index of the Max Value in a List\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#website\",\"url\":\"https:\/\/careerkarma.com\/blog\/\",\"name\":\"Career Karma\",\"description\":\"Latest Coding Bootcamp News &amp; Career Hacks from Industry Insiders\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/careerkarma.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\",\"name\":\"James Gallagher\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg\",\"contentUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg\",\"caption\":\"James Gallagher\"},\"description\":\"James Gallagher is a self-taught programmer and the technical content manager at Career Karma. He has experience in range of programming languages and extensive expertise in Python, HTML, CSS, and JavaScript. James has written hundreds of programming tutorials, and he frequently contributes to publications like Codecademy, Treehouse, Repl.it, Afrotech, and others.\",\"url\":\"https:\/\/careerkarma.com\/blog\/author\/jamesgallagher\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Python: Retrieve the Index of the Max Value in a List | Career Karma","description":"On Career Karma, learn how to retrieve the index number of the largest value in a Python list using the max() and index() methods.","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:\/\/careerkarma.com\/blog\/python-max-index\/","og_locale":"en_US","og_type":"article","og_title":"Python: Retrieve the Index of the Max Value in a List","og_description":"On Career Karma, learn how to retrieve the index number of the largest value in a Python list using the max() and index() methods.","og_url":"https:\/\/careerkarma.com\/blog\/python-max-index\/","og_site_name":"Career Karma","article_publisher":"http:\/\/facebook.com\/careerkarmaapp","article_published_time":"2020-09-07T18:57:25+00:00","article_modified_time":"2023-12-01T11:59:27+00:00","og_image":[{"width":1020,"height":680,"url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/arnold-francisca-nPhl2x4fk2s-unsplash.jpg","type":"image\/jpeg"}],"author":"James Gallagher","twitter_card":"summary_large_image","twitter_creator":"@career_karma","twitter_site":"@career_karma","twitter_misc":{"Written by":"James Gallagher","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/careerkarma.com\/blog\/python-max-index\/#article","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/python-max-index\/"},"author":{"name":"James Gallagher","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"headline":"Python: Retrieve the Index of the Max Value in a List","datePublished":"2020-09-07T18:57:25+00:00","dateModified":"2023-12-01T11:59:27+00:00","mainEntityOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-max-index\/"},"wordCount":689,"commentCount":0,"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-max-index\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/arnold-francisca-nPhl2x4fk2s-unsplash.jpg","articleSection":["Python"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/careerkarma.com\/blog\/python-max-index\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/careerkarma.com\/blog\/python-max-index\/","url":"https:\/\/careerkarma.com\/blog\/python-max-index\/","name":"Python: Retrieve the Index of the Max Value in a List | Career Karma","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-max-index\/#primaryimage"},"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-max-index\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/arnold-francisca-nPhl2x4fk2s-unsplash.jpg","datePublished":"2020-09-07T18:57:25+00:00","dateModified":"2023-12-01T11:59:27+00:00","author":{"@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"description":"On Career Karma, learn how to retrieve the index number of the largest value in a Python list using the max() and index() methods.","breadcrumb":{"@id":"https:\/\/careerkarma.com\/blog\/python-max-index\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/careerkarma.com\/blog\/python-max-index\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/python-max-index\/#primaryimage","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/arnold-francisca-nPhl2x4fk2s-unsplash.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/arnold-francisca-nPhl2x4fk2s-unsplash.jpg","width":1020,"height":680},{"@type":"BreadcrumbList","@id":"https:\/\/careerkarma.com\/blog\/python-max-index\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/careerkarma.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Python","item":"https:\/\/careerkarma.com\/blog\/python\/"},{"@type":"ListItem","position":3,"name":"Python: Retrieve the Index of the Max Value in a List"}]},{"@type":"WebSite","@id":"https:\/\/careerkarma.com\/blog\/#website","url":"https:\/\/careerkarma.com\/blog\/","name":"Career Karma","description":"Latest Coding Bootcamp News &amp; Career Hacks from Industry Insiders","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/careerkarma.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94","name":"James Gallagher","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg","caption":"James Gallagher"},"description":"James Gallagher is a self-taught programmer and the technical content manager at Career Karma. He has experience in range of programming languages and extensive expertise in Python, HTML, CSS, and JavaScript. James has written hundreds of programming tutorials, and he frequently contributes to publications like Codecademy, Treehouse, Repl.it, Afrotech, and others.","url":"https:\/\/careerkarma.com\/blog\/author\/jamesgallagher\/"}]}},"_links":{"self":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/22302","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/users\/240"}],"replies":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/comments?post=22302"}],"version-history":[{"count":0,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/22302\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media\/22303"}],"wp:attachment":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media?parent=22302"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/categories?post=22302"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/tags?post=22302"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}