{ "openapi": "3.0.0", "info": { "title": "API League", "description": "API League is a Hub for World Class APIs.", "termsOfService": "https://apileague.com/terms", "version": "1.6.3", "contact": { "name": "David Urbansky", "email": "mail@apileague.com" } }, "servers": [ { "url": "https://api.apileague.com" } ], "paths": { "/search-books": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "total_results": { "type": "integer" }, "number": { "type": "integer" }, "offset": { "type": "integer" }, "books": { "type": "array", "items": { "type": "array", "items": { "type": "object", "properties": { "title": { "type": "string", "nullable": true }, "image": { "type": "string", "nullable": true }, "id": { "type": "integer" } } } } } } }, "examples": { "Response": { "value": { "total_results": 5999, "number": 10, "offset": 0, "books": [ [ { "title": "Journey to Hogwarts", "image": "https://covers.openlibrary.org/b/id/2520429-M.jpg", "id": 17200576 } ], [ { "image": "https://covers.openlibrary.org/b/id/2520430-M.jpg", "id": 15954006, "title": "Inside Hogwarts", "subtitle": "Magical Paintbook" } ], [ { "title": "Harry Potter and the Goblet of Fire", "image": "https://covers.openlibrary.org/b/id/12775900-M.jpg", "id": 16384516 } ], [ { "title": "Harry Potter and the Order of the Phoenix", "image": "https://covers.openlibrary.org/b/id/11416565-M.jpg", "id": 14296534 } ], [ { "title": "Great Gatsby (Silver Screen Edition)", "image": "https://covers.openlibrary.org/b/id/12791857-M.jpg", "id": 14530450 } ], [ { "image": "https://covers.openlibrary.org/b/id/394001-M.jpg", "id": 18810398, "title": "The Hobbit", "subtitle": "or, There and back again" } ], [ { "image": "https://covers.openlibrary.org/b/id/6282709-M.jpg", "id": 13597674, "title": "The Name of the Wind", "subtitle": "The Kingkiller Chronicle : day one" } ] ] } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "query", "description": "The search query.", "schema": { "pattern": ".", "maxLength": 300, "type": "string", "example": "books about wizards" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "earliest-publish-year", "description": "The books must have been published after this year.", "schema": { "format": "int32", "minimum": 0, "maximum": 9999, "type": "integer", "example": 2022 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "latest-publish-year", "description": "The books must have been published before this year.", "schema": { "format": "int32", "minimum": 0, "maximum": 9999, "type": "integer", "example": 2023 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-rating", "description": "The minimum rating the book must have gotten in the interval [0,1].", "schema": { "format": "double", "minimum": 0, "maximum": 1, "type": "number", "example": 0.8 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-rating", "description": "The maximum rating the book must have gotten in the interval [0,1].", "schema": { "format": "double", "minimum": 0, "maximum": 1, "type": "number", "example": 0.99 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "genres", "description": "A comma-separated list of genres. Only books from any of the given genres will be returned.", "schema": { "pattern": ".", "maxLength": 1000, "type": "string", "example": "nonfiction" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "authors", "description": "A comma-separated list of author ids or names. Only books from any of the given authors will be returned. You can retrieve author ids from the search authors endpoint. Pass author names is slower and if two authors have the same name you can't disambiguate.", "schema": { "pattern": ".", "maxLength": 1000, "type": "string", "example": "J.K. Rowling" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "isbn", "description": "Only the book matching the ISBN-13 will be returned", "schema": { "pattern": ".", "maxLength": 13, "type": "string", "example": "9781781257654" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "oclc", "description": "Only the book matching the OCLC will be returned", "schema": { "pattern": ".", "maxLength": 100, "type": "string", "example": "864418200" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "sort", "description": "The sorting criteria (publish-date or rating).", "schema": { "pattern": ".", "maxLength": 10000, "type": "string", "example": "rating" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "sort-direction", "description": "Whether to sort ascending or descending (ASC or DESC).", "schema": { "pattern": ".", "maxLength": 4, "type": "string", "example": "DESC" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "group-results", "description": "Whether to group similar editions of the same book.", "schema": { "type": "boolean", "example": false }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "offset", "description": "The number of books to skip in range [0,1000]", "schema": { "format": "int32", "minimum": 0, "maximum": 1000, "type": "integer", "example": 0 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "number", "description": "The number of books to return in range [1,100]", "schema": { "format": "int32", "minimum": 1, "maximum": 100, "type": "integer", "example": 10 }, "required": false, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/search-books-api/" }, "summary": "Search Books", "tags": [ "Books" ], "description": "Search and filter books based on matching a query, the ISBN, rating, and more fields. The query is semantically parsed using our own large ontology. That means you can search paranormal books and the ontology knows that Aliens, Werewolves, Ghosts, and Shapeshifters fall into that category.", "operationId": "searchBooks", "deprecated": false } }, "/list-similar-books": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "similar_books": { "type": "array", "items": { "type": "object", "properties": { "title": { "type": "string", "nullable": true }, "image": { "type": "string", "nullable": true }, "id": { "type": "integer" } } } } } }, "examples": { "Response": { "value": { "similar_books": [ { "title": "Harry Potter and the Order of the Phoenix", "image": "https://covers.openlibrary.org/b/id/11416565-M.jpg", "id": 14296534 }, { "title": "Harry Potter and the Half-Blood Prince", "image": "https://covers.openlibrary.org/b/id/8235163-M.jpg", "id": 16499448 }, { "title": "Blood and Fire", "image": "https://covers.openlibrary.org/b/id/10404497-M.jpg", "id": 18610968 }, { "image": "https://covers.openlibrary.org/b/id/6657713-M.jpg", "id": 20464852, "title": "Towers of midnight", "subtitle": "Wheel of Time Book 13" }, { "image": "https://covers.openlibrary.org/b/id/3027823-M.jpg", "id": 13804028, "title": "Best of Robert Jordan", "subtitle": "The Shadow Rising; The Fires of Heaven; Lord of Chaos; A Crown of Swords (The Wheel of Time Series)" }, { "title": "MAR, Volume 7", "image": "https://covers.openlibrary.org/b/id/765103-M.jpg", "id": 14987824 }, { "title": "The Daysong of the Knightbird", "image": "https://covers.openlibrary.org/b/id/1822804-M.jpg", "id": 19984854 }, { "title": "The key", "image": "https://covers.openlibrary.org/b/id/8369732-M.jpg", "id": 17174416 }, { "title": "Bring me the head of Prince Charming", "image": "https://covers.openlibrary.org/b/id/3965371-M.jpg", "id": 20121054 } ] } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "id", "description": "The id of the book to which similar books should be found.", "schema": { "format": "int32", "minimum": 0, "maximum": 999999999, "type": "integer", "example": 8302059 }, "required": true, "style": "form", "explode": false, "in": "query" }, { "name": "number", "description": "The number of similar books to return in range [1,100]", "schema": { "format": "int32", "minimum": 1, "maximum": 100, "type": "integer", "example": 10 }, "required": false, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/find-similar-books-api/" }, "summary": "Find Similar Books", "tags": [ "Books" ], "description": "Find books that are similar to the given book. This is useful for recommending books to users based on their reading history or preferences. The response will contain a list of similar books with their title, id, and cover image.", "operationId": "findSimilarBooks", "deprecated": false } }, "/search-news": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "offset": { "type": "integer" }, "number": { "type": "integer" }, "available": { "type": "integer" }, "news": { "type": "array", "items": { "type": "object", "properties": { "summary": { "type": "string", "nullable": true }, "image": { "type": "string", "nullable": true }, "sentiment": { "type": "number" }, "language": { "type": "string", "nullable": true }, "video": { "type": "string", "nullable": true }, "title": { "type": "string", "nullable": true }, "url": { "type": "string", "nullable": true }, "source_country": { "type": "string", "nullable": true }, "id": { "type": "integer" }, "text": { "type": "string", "nullable": true }, "category": { "type": "string", "nullable": true }, "publish_date": { "type": "string", "nullable": true }, "authors": { "type": "array", "items": { "type": "string", "nullable": true } } } } } } }, "examples": { "Response": { "value": { "offset": 0, "number": 10, "available": 83, "news": [ { "summary": "Tesla CEO Elon Musk has revealed new details about the upcoming Cybertruck electric pickup truck. According to Musk, its initial production will begin with a four-motor variant.", "image": "https://internetprotocol.co/content/images/2021/12/Tesla-to-Release-a-Four-Motor-Version-of-Cybertruck.png", "sentiment": 0.712523, "language": "en", "video": "https://cdn.jwplayer.com/videos/70lDQJpg-RyIcpnTz.mp4", "title": "Tesla to Release a Four-Motor Version of Cybertruck", "url": "https://internetprotocol.co/hitech/2021/12/07/tesla-to-release-a-four-motor-cybertruck/", "source_country": "co", "id": 28, "text": "Tesla CEO Elon Musk has revealed new details about the upcoming Cybertruck electric pickup truck, the mass production of which was delayed until 2023 because of the lack of components and a lot of complex technologies that need to be scaled up. According to Musk, the initial production of the electric pickup truck will begin with a four-motor variant with \u201cindependent, ultra fast response torque control of each wheel,\u201d the tweet reads. In response, Twitter users asked if the Cybertruck could turn like a tank. Musk said that thanks to both the rear and front wheel steer, the electric truck will not only be able to turn like a tank, but also drive diagonally like a crab. According to Electrek, this change could be Tesla's reaction to what its competitors do. Since the introduction of Tesla\u2019s novelty, the market for electric pickup trucks has significantly evolved. Currently, one electric pickup on the market can turn like a tank \u2013 the Rivian R1T, while GMC's Hummer EV can drive diagonally. Following the announcement of Tesla Cybertruck in 2019, the company announced three configurations of the pickup truck: the entry-level model with one motor, the one with two motors, and the one with three. Rumor has it that the company intends to abandon the single-motor version altogether. In this case, Tesla Cybertruck will be sold with two, three, and four motors. Musk has promised to provide an update on the pickup's roadmap on the next earnings call. The production of Tesla Cybertruck is expected to begin at the end of 2022, and its mass production is slated to start in 2023.", "category": "business", "publish_date": "2022-09-30 01:07:48", "authors": [ "Iwan Stone", "Zahna Eklund" ] } ] } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "text", "description": "The text to match in the news content (at least 3 characters, maximum 100 characters). By default all query terms are expected, you can use an uppercase OR to search for any terms, e.g. tesla OR ford", "schema": { "pattern": ".", "maxLength": 100, "type": "string", "example": "tesla" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "source-countries", "description": "A comma-separated list of ISO 3166 country codes from which the news should originate.", "schema": { "pattern": ".", "maxLength": 100, "type": "string", "example": "us,uk" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "language", "description": "The ISO 6391 language code of the news.", "schema": { "pattern": ".", "maxLength": 2, "type": "string", "example": "en" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-sentiment", "description": "The minimal sentiment of the news in range [-1,1].", "schema": { "format": "double", "minimum": -1, "maximum": 1, "type": "number", "example": -0.8 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-sentiment", "description": "The maximal sentiment of the news in range [-1,1].", "schema": { "format": "double", "minimum": -1, "maximum": 1, "type": "number", "example": 0.8 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "earliest-publish-date", "description": "The news must have been published after this date.", "schema": { "pattern": ".", "maxLength": 100, "type": "string", "example": "2022-04-22 16:12:35" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "latest-publish-date", "description": "The news must have been published before this date.", "schema": { "pattern": ".", "maxLength": 100, "type": "string", "example": "2022-04-22 16:12:35" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "news-sources", "description": "A comma-separated list of news sources from which the news should originate.", "schema": { "pattern": ".", "maxLength": 10000, "type": "string", "example": "https://www.bbc.co.uk" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "authors", "description": "A comma-separated list of author names. Only news from any of the given authors will be returned.", "schema": { "pattern": ".", "maxLength": 300, "type": "string", "example": "John Doe" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "categories", "description": "A comma-separated list of categories. Only news from any of the given categories will be returned. Possible categories are politics, sports, business, technology, entertainment, health, science, lifestyle, travel, culture, education, environment, other.", "schema": { "pattern": ".", "maxLength": 300, "type": "string", "example": "politics,sports" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "entities", "description": "Filter news by entities (ORG, PER, or LOC).", "schema": { "pattern": ".", "maxLength": 10000, "type": "string", "example": "ORG:Tesla" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "location-filter", "description": "Filter news by radius around a certain location. Format is \"latitude,longitude,radius in kilometers\"", "schema": { "pattern": ".", "maxLength": 100, "type": "string", "example": "51.050407, 13.737262, 100" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "sort", "description": "The sorting criteria (publish-time).", "schema": { "pattern": ".", "maxLength": 100, "type": "string", "example": "publish-time" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "sort-direction", "description": "Whether to sort ascending or descending (ASC or DESC).", "schema": { "pattern": ".", "maxLength": 4, "type": "string", "example": "ASC" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "offset", "description": "The number of news to skip in range [0,10000]", "schema": { "format": "int32", "minimum": 0, "maximum": 10000, "type": "integer", "example": 0 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "number", "description": "The number of news to return in range [1,100]", "schema": { "format": "int32", "minimum": 1, "maximum": 100, "type": "integer", "example": 10 }, "required": false, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/search-news-api/" }, "summary": "Search News", "tags": [ "News" ], "description": "Search and filter news by text, date, location, category, language, and more. The API returns a list of news articles matching the given criteria. You can set as many filtering parameters as you like, but you have to set at least one, e.g. text or language.", "operationId": "searchNews", "deprecated": false } }, "/retrieve-top-news": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "top_news": { "type": "array", "items": { "type": "object", "properties": { "news": { "type": "array", "items": { "type": "object", "properties": { "summary": { "type": "string", "nullable": true }, "image": { "type": "string", "nullable": true }, "id": { "type": "integer" }, "text": { "type": "string", "nullable": true }, "title": { "type": "string", "nullable": true }, "publish_date": { "type": "string", "nullable": true }, "url": { "type": "string", "nullable": true }, "authors": { "type": "array", "items": { "type": "string", "nullable": true } } } } } } } }, "language": { "type": "string", "nullable": true }, "country": { "type": "string", "nullable": true } } }, "examples": { "Response": { "value": { "top_news": [ { "news": [ { "summary": "...", "image": "https://politicalwire.com/wp-content/uploads/2018/02/PW-podcast-logo.jpg", "id": 224767206, "text": "...", "title": "Jury to Begin Deliberations In Trump Trial", "publish_date": "2024-05-29 00:10:48", "url": "https://politicalwire.com/2024/05/28/jury-to-begin-deliberations-in-trump-trial/", "authors": [ "Taegan Goddard" ] }, { "summary": "...", "image": "https://dims.apnews.com/dims4/default/3446536/2147483647/strip/true/crop/6195x3485+0+323/resize/1440x810!/quality/90/?url=https%3A%2F%2Fassets.apnews.com%2Fec%2Fd5%2Ff56fdc38f86e38b6217b50083d19%2Fd5ef4afe1cb64825be1349de8fd40df0", "id": 224839780, "text": "...", "title": "Jury in Donald Trump's hush money case to begin deliberations", "publish_date": "2024-05-29 04:30:08", "url": "https://apnews.com/article/trump-trial-deliberations-jury-judge-verdict-390f045e9e8a37f069e82576edd7a842", "authors": [] }, { "summary": "...", "image": "https://whdh.com/wp-content/uploads/sites/3/2024/05/WHDH_2024-05-27_15h27-33-cover.jpg?quality=60&strip=color", "id": 224936214, "text": "...", "title": "Jury in Trump's hush money case to begin deliberations after hearing instructions from judge", "publish_date": "2024-05-29 08:47:26", "url": "https://whdh.com/news/jury-in-trumps-hush-money-case-to-begin-deliberations-after-hearing-instructions-from-judge/", "authors": [] }, { "summary": "...", "image": "https://assets3.cbsnewsstatic.com/hub/i/r/2024/05/29/66524a85-576c-4c40-94ba-cfb04cbb7950/thumbnail/1200x630g3/d2d9c8ea35b659db292c371bdc0a47e8/gettyimages-2154550679.jpg?v=c5044be0004eac09882c007ac02fef6d", "id": 224956968, "text": "...", "video": "https://prod.vodvideo.cbsnews.com/cbsnews/vr/hls/2942696_hls/master.m3u8", "title": "Trump trial jury set to begin deliberating verdict today after judge issues instructions", "publish_date": "2024-05-29 10:00:18", "url": "https://www.cbsnews.com/live-updates/trump-trial-verdict-jury-deliberations-judge-instructions/", "authors": [] }, { "summary": "...", "image": "https://static01.nyt.com/images/2024/05/29/multimedia/29trump-trial-pinned-qzmh/29trump-trial-pinned-qzmh-facebookJumbo-v2.jpg", "id": 224957034, "text": "...", "title": "Jury in Trump\u2019s Hush-Money Trial to Begin Deliberations on Wednesday", "publish_date": "2024-05-29 10:12:08", "url": "https://www.nytimes.com/2024/05/29/nyregion/trump-trial-jury-charges.html", "authors": [] }, { "summary": "...", "image": "https://a57.foxnews.com/static.foxnews.com/foxnews.com/content/uploads/2024/05/931/524/judge-trump.png?ve=1&tl=1", "id": 224961802, "text": "...", "title": "Jury to begin deliberations in Trump trial and more top headlines", "publish_date": "2024-05-29 10:22:36", "url": "https://www.foxnews.com/us/judge-outline-framework-jury-trial-decide-trumps-fate-more-top-headlines", "authors": [] } ] }, { "news": [ { "image": "https://cdn.vox-cdn.com/thumbor/WBEMdSSOD_jHJGnNV7hLX88zANk=/0x444:5601x3376/fit-in/1200x630/cdn.vox-cdn.com/uploads/chorus_asset/file/25469085/2152809074.jpg", "id": 225109966, "text": "...", "title": "Scottie Scheffler PGA Championship charges set to get dropped", "publish_date": "2024-05-29 15:24:34", "url": "https://www.sbnation.com/golf/2024/5/29/24167024/scottie-scheffler-pga-championship-louisville-police-drop-charges", "authors": [ "Brendan Porath" ] }, { "summary": "...", "image": "https://www.pilotonline.com/wp-content/uploads/2024/05/Scheffler_Arrest_Golf_86723_6d56d8.jpg?w=1024", "id": 225118216, "text": "...", "title": "Charges against world\u2019s top golfer Scottie Scheffler dropped after arrest outside PGA Championship", "publish_date": "2024-05-29 17:05:55", "url": "https://www.pilotonline.com/2024/05/29/charges-against-worlds-top-golfer-scottie-scheffler-dropped-after-arrest-outside-pga-championship/", "authors": [] }, { "summary": "...", "image": "https://www.twincities.com/wp-content/uploads/2024/05/Scheffler_Arrest_Golf_86723_6d56d8.jpg?w=1024", "id": 225118304, "text": "...", "title": "Charges against world\u2019s top golfer Scottie Scheffler dropped after arrest outside PGA Championship", "publish_date": "2024-05-29 17:05:55", "url": "https://www.twincities.com/2024/05/29/charges-against-worlds-top-golfer-scottie-scheffler-dropped-after-arrest-outside-pga-championship/", "authors": [] }, { "summary": "...", "image": "https://wsvn.com/wp-content/uploads/sites/2/2024/04/240414_Scottie_Scheffler.jpg?quality=60&strip=color", "id": 225119550, "text": "...", "title": "Charges against world's top golfer Scottie Scheffler dropped after arrest outside PGA Championship", "publish_date": "2024-05-29 17:10:09", "url": "https://wsvn.com/sports/charges-against-worlds-top-golfer-scottie-scheffler-dropped-after-arrest-outside-pga-championship/", "authors": [] } ] }, { "news": [ { "summary": "...", "image": "https://media.nbcwashington.com/2019/09/AP163564666366.jpg?quality=85&strip=all&fit=722%2C406", "id": 225012756, "text": "...", "title": "Pandas to return to DC's National Zoo", "publish_date": "2024-05-29 12:37:10", "url": "https://www.nbcwashington.com/news/local/national-zoo-expected-to-make-announcement-about-panda-program/3627045/", "authors": [] }, { "summary": "...", "image": "https://dims.apnews.com/dims4/default/1f5b9aa/2147483647/strip/true/crop/3382x1902+0+176/resize/1440x810!/quality/90/?url=https%3A%2F%2Fassets.apnews.com%2Fc4%2F1e%2F69094cc265243956d243348db814%2F71b160bbb0204eb594474a4934fb0df6", "id": 225017360, "text": "...", "title": "Giant pandas are returning to D.C.'s National Zoo", "publish_date": "2024-05-29 12:51:08", "url": "https://apnews.com/article/giant-pandas-washington-zoo-china-764f8016d98c01ab579bdbb6dcc3dd6b", "authors": [] }, { "summary": "...", "image": "https://www.baltimoresun.com/wp-content/uploads/2024/05/Giant_Pandas_89303.jpg?w=1024", "id": 225017634, "text": "...", "title": "2 new giant pandas are returning to Washington\u2019s National Zoo from China by the end of the year", "publish_date": "2024-05-29 12:52:08", "url": "https://www.baltimoresun.com/2024/05/29/2-new-giant-pandas-are-returning-to-washingtons-national-zoo-from-china-by-the-end-of-the-year/", "authors": [] } ] } ], "language": "en", "country": "us" } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "source-country", "description": "The ISO 3166 country code of the country for which top news should be retrieved.", "schema": { "pattern": ".", "maxLength": 2, "type": "string", "example": "us" }, "required": true, "style": "form", "explode": false, "in": "query" }, { "name": "language", "description": "The ISO 6391 language code of the top news. The language must be one spoken in the source-country.", "schema": { "pattern": ".", "maxLength": 2, "type": "string", "example": "en" }, "required": true, "style": "form", "explode": false, "in": "query" }, { "name": "date", "description": "The date for which the top news should be retrieved. If no date is given, the current day is assumed.", "schema": { "pattern": ".", "maxLength": 10, "type": "string", "example": "2024-05-30" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "headlines-only", "description": "Whether to only return basic information such as id, title, and url of the news.", "schema": { "type": "boolean", "example": false }, "required": false, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/top-news-api/" }, "summary": "Top News", "tags": [ "News" ], "description": "Get the top news from a country in a language for a specific date. The top news are clustered from multiple sources in the given country. The more news in a cluster the higher the cluster is ranked.", "operationId": "topNews", "deprecated": false } }, "/extract-news": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "title": { "type": "string", "nullable": true }, "text": { "type": "string", "nullable": true }, "url": { "type": "string", "nullable": true }, "images": { "type": "array", "items": { "type": "object", "properties": { "width": { "type": "integer" }, "title": { "type": "string", "nullable": true }, "url": { "type": "string", "nullable": true }, "height": { "type": "integer" } } } }, "videos": { "type": "array", "items": { "type": "object", "properties": { "summary": { "type": "string", "nullable": true }, "duration": { "type": "integer" }, "thumbnail": { "type": "string", "nullable": true }, "title": { "type": "string", "nullable": true }, "url": { "type": "string", "nullable": true } } } }, "publish_date": { "type": "string", "nullable": true }, "authors": { "type": "array", "items": { "type": "string", "nullable": true } }, "language": { "type": "string", "nullable": true } } }, "examples": { "Response": { "value": { "title": "Known terrorist spent year in US after being wrongly released by feds \u2014 and GOP lawmakers demand answers", "text": "A Somali terrorist was allowed into the country and was able to operate freely for almost a year before authorities realized their error and rearrested him. Republican lawmakers are demanding information from Homeland Security Secretary Alejandro Mayorkas about what happened to the man \u2014 and whether US citizens funded any part of his journey to or stay in the US. The 27-year-old Somalian \u2014 who so far has not been identified by name \u2014 was on the watchlist as \u201ca confirmed member of al Shabaab\u201d involved in the use, manufacture or transportation of explosives or firearms, but a border bungle meant he was released after initially being arrested for crossing into the country illegally in California in March 2023. A letter from Republican lawmakers seeks to find the al-Shabaab member\u2019s path from illegally crossing the border to Minnesota, were he was eventually rearrested in January, and whether he received any government benefits. It also seeks to find if he took a commercial flight with US citizens to reach their state and if his travel was funded with taxpayer dollars, according to the Tuesday letter, first obtained by The Post. The letter states: \u201cDue to Minnesota\u2019s far distance from the border, it is not an easy task for migrants to travel to the state \u2026 \u201cDid the al-Shabbab terrorist travel to Minnesota with the assistance, either direct or indirect of an [Non-Governmental Organization]? If so, which NGO was responsible for transporting the individual to Minnesota?\u201d The terrorist organization member had initially crossed into California and been arrested by the Border Patrol. However, the Terrorist Screening Center determined he was a \u201cmismatch\u201d to the terror watchlist, leading to his release. Nearly a year later, Immigration and Customs Enforcement (ICE) nabbed him after federal authorities made a \u201credetermination\u201d and realized he was associated with the Somalian militant group. Al-Shabaab was formed as the militant wing of the Somali Council of Islamic Courts, which controlled the southern part of the country in late 2006. Its rule was defeated in 2007, according to the Office of the Director of National Intelligence, but it has since operated as an underground network and is involved in wars in and around Somalia. It was designated a terrorist organization in 2008 by the US government and is notorious for carrying out bombings and suicide attacks. In 2013, al-Shabaab was responsible for a massacre at the Westgate mall in Kenya, killing 67 individuals. US forces have conducted six strikes in Somalia against al-Shabaab already this year, killing two dozen militants in the latest actions, according to CNN. In a February press conference, ICE Acting Director Patrick Lechleitner said his agency arrested the individual \u201cwithin 48 hours\u201d of learning his true identity. \u201cThe Biden administration\u2019s open-borders agenda allowed a known terrorist to roam freely throughout our state, and now they must answer for their inexcusable negligence,\u201d House Majority Whip Tom Emmer (R-Minn.) said in a statement to The Post regarding the probe. The Border Patrol has recorded an ever-growing number of migrants listed on the terror watchlist attempting to enter the US illegally in recent years. Between October 2023 and February, agents have already recorded 70 encounters at both the southern and northern borders, according to federal data. There were 172 such encounters recorded in fiscal year 2023, which ran from October 2022 to September 2023, 98 in fiscal year 2022, 16 in fiscal year 2021 and 14 between fiscal years 2017 and 2020. In March, Border Patrol agents apprehended Lebanese national Basel Bassel Ebbadi, 22, who told personnel that he came to the US \u201cto try to make a bomb,\u201d according to internal federal documents first obtained by The Post. Ebbadi admitted to a border agent that he is a member of Hezbollah and was later confirmed as a \u201cpositive match\u201d on the terror watchlist.", "url": "https://nypost.com/2024/04/02/us-news/lawmakers-demand-to-know-if-taxpayers-funded-al-shabaab-terrorist/", "images": [ { "width": 879, "title": "Masked al-Shabaab members hold up weapons", "url": "https://nypost.com/wp-content/uploads/sites/2/2024/04/2010-somalias-hardline-islamist-rebel-39796525.jpg?w=1024", "height": 590 }, { "width": 787, "title": "Members of al-Shabaab", "url": "https://nypost.com/wp-content/uploads/sites/2/2024/04/2010-al-shabaab-said-friday-39807171.jpg?w=1024", "height": 590 }, { "width": 943, "title": "Border Patrol agents apprehend migrants", "url": "https://nypost.com/wp-content/uploads/sites/2/2024/04/migrants-placed-vans-u-s-78334041.jpg?w=1024", "height": 590 }, { "width": 885, "title": "Migrants await to be transported by Border Patrol agents", "url": "https://nypost.com/wp-content/uploads/sites/2/2024/04/asylum-seeking-migrants-stand-line-71972565.jpg?w=1024", "height": 590 }, { "width": 885, "title": "Border Patrol vehicle", "url": "https://nypost.com/wp-content/uploads/sites/2/2024/04/u-s-border-patrol-vehicle-56717052.jpg?w=1024", "height": 590 }, { "width": 1200, "url": "https://nypost.com/wp-content/uploads/sites/2/2024/04/al-shabaab-terrorist-migrant-border-crossing-california-minnesota-mayorkas-comp-02.jpg?quality=75&strip=all&w=1200", "height": 800 } ], "videos": [ { "summary": "Today's Video Headlines: 4/2/24", "duration": 61, "thumbnail": "https://cdn.jwplayer.com/v2/media/Den1Nq47/poster.jpg?width=720", "title": "Today's Video Headlines", "url": "https://cdn.jwplayer.com/videos/Den1Nq47-RyIcpnTz.mp4" } ], "publish_date": "2024-04-02 17:13:12", "authors": [ "Jennie Taer" ], "language": "en" } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "url", "description": "The url of the news.", "schema": { "pattern": ".", "maxLength": 1000, "type": "string", "example": "https://internetprotocol.co/hitech/2021/12/07/tesla-to-release-a-four-motor-cybertruck/" }, "required": true, "style": "form", "explode": false, "in": "query" }, { "name": "analyze", "description": "Whether to analyze the news (extract entities etc.)", "schema": { "type": "boolean", "example": true }, "required": true, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/extract-news-api/" }, "summary": "Extract News", "tags": [ "News" ], "description": "Extract a news article from a website to a well structure JSON object. The API will return the title, text, URL, image, publish date, author, language, source country, and sentiment of the news article.", "operationId": "extractNews", "deprecated": false } }, "/search-jokes": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "jokes": { "type": "array", "items": { "type": "object", "properties": { "joke": { "type": "string", "nullable": true } } } }, "available": { "type": "integer" } } }, "examples": { "Response": { "value": { "jokes": [ { "joke": "A retiring farmer in preparation for selling his land, needed to rid his farm of animals. So he went to every house in his town. \nTo the houses where the man is the boss, he gave a horse. To the houses where the woman is the boss, a chicken was given. \nHe got toward the end of the street and saw a couple outside gardening. \"Who's the boss around here?\" he asked. \n\"I am.\" said the man. \n\"I have a black horse and a brown horse,\" the farmer said, \"which one would you like?\" \nThe man thought for a minute and said, \"The black one.\" \n\"No, no, no, get the brown one.\" the man's wife said. \n\"Here's your chicken.\" said the farmer." }, { "joke": "A blonde decides to try horseback riding, even though she has had no\r\nlessons or prior experience. She mounts the horse unassisted and then\r\nhorse immediately springs into motion. It gallops along at a steady and\r\nrhythmic pace, but the blonde begins to slip from the\r\nsaddle. In terror, she grabs for the horse's mane, but cannot seem to get\r\na firm grip.\r\nShe tries to throw her arms around the horse's neck, but she slides down\r\nthe side of the horse anyway. The horse gallops along, seemingly\r\nimpervious to its slipping rider. Finally, giving up her frail grip, she\r\nleaps away from the horse to try and throw herself to safety.\r\nUnfortunately, her foot has become entangled in the stirrup and she is now\r\nat the mercy of the horse's pounding hooves as her head is battered\r\nagainst the ground again and again. She is mere moments away from\r\nunconsciousness when...\r\n ...the Wal-Mart manager runs out to shut the horse off." }, { "joke": "Once Chuck Norris met a man on a horse that he did'nt like, now we know him as the headless horseman." } ], "available": 169 } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "keywords", "description": "A comma-separated list of words that must occur in the joke.", "schema": { "pattern": ".", "maxLength": 300, "type": "string", "example": "horse,man" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "include-tags", "description": "A comma-separated list of tags the jokes should have.", "schema": { "pattern": ".", "maxLength": 300, "type": "string", "example": "animal" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "exclude-tags", "description": "A comma-separated list of tags the jokes must not have.", "schema": { "pattern": ".", "maxLength": 300, "type": "string", "example": "nsfw,dark" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-rating", "description": "The minimum rating in range [0.0,1.0] of the jokes.", "schema": { "format": "double", "minimum": 0, "maximum": 1, "type": "number", "example": 0 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-length", "description": "The maximum length of the joke in letters.", "schema": { "format": "double", "minimum": 0, "maximum": 1, "type": "number", "example": 140 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "offset", "description": "The number of jokes to skip, between 0 and 1000.", "schema": { "format": "int32", "minimum": 0, "maximum": 1000, "type": "integer", "example": 0 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "number", "description": "The number of jokes, between 1 and 10.", "schema": { "format": "int32", "minimum": 1, "maximum": 10, "type": "integer", "example": 3 }, "required": false, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/search-jokes-api/" }, "summary": "Search Jokes", "tags": [ "Humor" ], "description": "With over 50,000 jokes, you should find something for any occasion. There are 27 categories/tags to choose from, but you can also search for very specific words within jokes.", "operationId": "searchJokes", "deprecated": false } }, "/retrieve-random-joke": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "joke": { "type": "string", "nullable": true } } }, "examples": { "Response": { "value": { "joke": "What do you call a boxing match between two aardvarks?\nA snout bout!" } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "include-tags", "description": "A comma-separated list of tags the jokes should have.", "schema": { "pattern": ".", "maxLength": 300, "type": "string", "example": "animal" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "exclude-tags", "description": "A comma-separated list of tags the jokes must not have.", "schema": { "pattern": ".", "maxLength": 300, "type": "string", "example": "nsfw,dark" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-rating", "description": "The minimum rating in range [0.0,1.0] of the jokes.", "schema": { "format": "double", "minimum": 0, "maximum": 1, "type": "number", "example": 0 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-length", "description": "The maximum length of the joke in letters.", "schema": { "format": "int32", "minimum": 1, "maximum": 10000, "type": "integer", "example": 140 }, "required": false, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/random-joke-api/" }, "summary": "Random Joke", "tags": [ "Humor" ], "description": "This is a simple API that returns a random joke. You can filter the jokes by tags and keywords. To make sure they are safe for work, you could use the exclude-tags parameter to exclude jokes with certain tags such as \"nsfw\" or \"religious\".", "operationId": "randomJoke", "deprecated": false } }, "/search-memes": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "memes": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string", "nullable": true }, "description": { "type": "string", "nullable": true }, "url": { "type": "string", "nullable": true } } } }, "available": { "type": "integer" } } }, "examples": { "Response": { "value": { "memes": [ { "type": "video/mp4", "description": "Hey, you want a light show?: Edit: Thank you for getting the joke. I didn\u2019t think a joke about gloving would land, but I appreciate your sense of humor Imgur. Let me know what shows you are going to or went to this year. DM me if you want to team up on Rocket League.", "url": "https://i.imgur.com/4msjS5E.mp4" }, { "type": "image/png", "description": "Rocket Money is a scam.: Prevented a $30 charge of something I don't use anymore. Feels good.", "url": "https://i.imgur.com/q3cZlpv.png" }, { "type": "image/jpeg", "description": "Rocket Money is a scam.: Cat tax.", "url": "https://i.imgur.com/yaZoCFP.jpg" } ], "available": 156 } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "keywords", "description": "A comma-separated list of words that must occur in the meme.", "schema": { "pattern": ".", "maxLength": 300, "type": "string", "example": "rocket" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "keywords-in-image", "description": "Whether the keywords must occur in the image.", "schema": { "type": "boolean", "example": true }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "media-type", "description": "The media type (either 'image', 'video' or even specific format such as 'jpg', 'png', or 'gif').", "schema": { "pattern": ".", "maxLength": 10, "type": "string", "example": "image" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-rating", "description": "The minimum rating in range [0.0,1.0] of the meme.", "schema": { "format": "double", "minimum": 0, "maximum": 1, "type": "number", "example": 0 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-age-days", "description": "The maximum age of the meme in days.", "schema": { "format": "int32", "minimum": 0, "maximum": 10000, "type": "integer", "example": 30 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "offset", "description": "The number of memes to skip, between 0 and 1000.", "schema": { "format": "int32", "minimum": 0, "maximum": 1000, "type": "integer", "example": 0 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "number", "description": "The number of memes, between 1 and 10.", "schema": { "format": "int32", "minimum": 1, "maximum": 10, "type": "integer", "example": 3 }, "required": false, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/search-memes-api/" }, "summary": "Search Memes", "tags": [ "Humor" ], "description": "With over 200,000 memes, you'll surely find something funny. You can even search for text within memes and filter by user ratings.", "operationId": "searchMemes", "deprecated": false } }, "/retrieve-random-meme": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "description": { "type": "string", "nullable": true }, "url": { "type": "string", "nullable": true }, "type": { "type": "string", "nullable": true }, "width": { "type": "integer" }, "height": { "type": "integer" }, "ratio": { "type": "number" } } }, "examples": { "Response": { "value": { "description": "That's totally fine.", "url": "https://preview.redd.it/2wpfufhz8p751.jpg?width=640&crop=smart&auto=webp&s=dab7d5eba791f3a884b0c0614630c99e38c46c4d", "type": "image/jpeg", "width": 640, "height": 702, "ratio": 0.911681 } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "keywords", "description": "A comma-separated list of words that must occur in the meme.", "schema": { "pattern": ".", "maxLength": 300, "type": "string", "example": "airplane" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "keywords-in-image", "description": "Whether the keywords must occur in the image.", "schema": { "type": "boolean", "example": true }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "media-type", "description": "The media type (either 'image', 'video' or even specific format such as 'jpg', 'png', or 'gif').", "schema": { "pattern": ".", "maxLength": 10, "type": "string", "example": "image" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-rating", "description": "The minimum rating in range [0.0,1.0] of the meme.", "schema": { "format": "double", "minimum": 0, "maximum": 1, "type": "number", "example": 0 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-age-days", "description": "The maximum age of the meme in days.", "schema": { "format": "int32", "minimum": 0, "maximum": 1000, "type": "integer", "example": 30 }, "required": false, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/random-meme-api/" }, "summary": "Random Meme", "tags": [ "Humor" ], "description": "Get a random meme out of over 200,000+ memes. To get the latest memes, you can use the max-age-days parameter.", "operationId": "randomMeme", "deprecated": false } }, "/search-gifs": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "images": { "type": "array", "items": { "type": "object", "properties": { "width": { "type": "integer" }, "url": { "type": "string", "nullable": true }, "height": { "type": "integer" } } } } } }, "examples": { "Response": { "value": { "images": [ { "width": 362, "url": "https://media.tenor.com/xEf4j9pnMywAAAAC/dog-dogs.gif", "height": 498 }, { "width": 248, "url": "https://media.tenor.com/U-g_SmVeq40AAAAC/poodle-dancing-dog-poodle.gif", "height": 498 }, { "width": 498, "url": "https://media.tenor.com/SmFA9ziWpx4AAAAC/dogs-dog.gif", "height": 374 } ] } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "query", "description": "The search query.", "schema": { "pattern": ".", "maxLength": 300, "type": "string", "example": "dogs" }, "required": true, "style": "form", "explode": false, "in": "query" }, { "name": "number", "description": "The number of gifs to return in range [1,10]", "schema": { "format": "int32", "minimum": 1, "maximum": 10, "type": "integer", "example": 5 }, "required": false, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/search-gifs-api/" }, "summary": "Search Gifs", "tags": [ "Humor" ], "description": "Search through hundreds of thousands of gifs to match any reaction you want. The gifs are returned in a list with the URL, width, and height of the gif.", "operationId": "searchGifs", "deprecated": false } }, "/generate-nonsense-word": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "word": { "type": "string", "nullable": true }, "rating": { "type": "number" } } }, "examples": { "Response": { "value": { "word": "caboo", "rating": 0.41 } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/generate-nonsense-word-api/" }, "summary": "Generate Nonsense Word", "tags": [ "Humor" ], "description": "Generate a funny sounding nonsense word. This is useful for generating random words for games, naming things, or just for fun. The response will contain the generated word and a rating of how funny it is.", "operationId": "generateNonsenseWord", "deprecated": false } }, "/search-drinks": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "offset": { "type": "integer" }, "number": { "type": "integer" }, "drinks": { "type": "array", "items": { "type": "object", "properties": { "flavors": { "type": "array", "items": { "type": "string", "nullable": true } }, "instructions": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "nullable": true }, "steps": { "type": "array", "items": { "type": "object", "properties": { "number": { "type": "integer" }, "ingredients": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "nullable": true }, "image": { "type": "string", "nullable": true }, "id": { "type": "integer" } } } }, "equipment": { "type": "array", "items": { "type": "string", "nullable": true } }, "step": { "type": "string", "nullable": true } } } } } } }, "images": { "type": "array", "items": { "type": "string", "nullable": true } }, "nutrition": { "type": "object", "properties": { "weight_per_serving": { "type": "object", "properties": { "amount": { "type": "integer" }, "unit": { "type": "string", "nullable": true } } }, "caloric_breakdown": { "type": "object", "properties": { "percent_fat": { "type": "number" }, "percent_carbs": { "type": "number" }, "percent_protein": { "type": "number" } } }, "flavonoids": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "nullable": true }, "amount": { "type": "integer" }, "unit": { "type": "string", "nullable": true } } } }, "ingredient_breakdown": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "nullable": true }, "amount": { "type": "integer" }, "unit": { "type": "string", "nullable": true }, "id": { "type": "integer" }, "nutrients": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "nullable": true }, "percent_of_daily_needs": { "type": "number" }, "amount": { "type": "integer" }, "unit": { "type": "string", "nullable": true } } } } } } }, "properties": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "nullable": true }, "amount": { "type": "integer" }, "unit": { "type": "string", "nullable": true } } } }, "nutrients": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "nullable": true }, "percent_of_daily_needs": { "type": "number" }, "amount": { "type": "number" }, "unit": { "type": "string", "nullable": true } } } } } }, "glass_type": { "type": "string", "nullable": true }, "credits": { "type": "object", "properties": { "text": { "type": "string", "nullable": true }, "source_name": { "type": "string", "nullable": true }, "source_url": { "type": "string", "nullable": true } } }, "price_per_serving": { "type": "number" }, "description": { "type": "string", "nullable": true }, "ingredients": { "type": "array", "items": { "type": "object", "properties": { "image": { "type": "string", "nullable": true }, "name_clean": { "type": "string", "nullable": true }, "amount": { "type": "integer" }, "unit": { "type": "string", "nullable": true }, "measures": { "type": "object", "properties": { "metric": { "type": "object", "properties": { "unit_short": { "type": "string", "nullable": true }, "amount": { "type": "number" }, "unit_long": { "type": "string", "nullable": true } } }, "us": { "type": "object", "properties": { "unit_short": { "type": "string", "nullable": true }, "amount": { "type": "integer" }, "unit_long": { "type": "string", "nullable": true } } } } }, "original": { "type": "string", "nullable": true }, "meta": { "type": "array", "items": { "type": "string", "nullable": true } }, "original_name": { "type": "string", "nullable": true }, "name": { "type": "string", "nullable": true }, "id": { "type": "integer" }, "aisle": { "type": "string", "nullable": true }, "consistency": { "type": "string", "nullable": true } } } }, "id": { "type": "integer" }, "title": { "type": "string", "nullable": true }, "cuisines": { "type": "array", "items": { "type": "string", "nullable": true } } } } }, "total_results": { "type": "integer" } } }, "examples": { "Response": { "value": { "offset": 0, "number": 1, "drinks": [ { "flavors": [ "creamy", "spicy", "sour", "sweet" ], "instructions": [ { "name": "", "steps": [ { "number": 1, "ingredients": [ { "name": "nutmeg", "image": "https://img.spoonacular.com/ingredients_100x100/ground-nutmeg.jpg", "id": 2025 } ], "equipment": [], "step": "Blend all ingredients, save nutmeg." }, { "number": 2, "ingredients": [ { "name": "white wine", "image": "https://img.spoonacular.com/ingredients_100x100/white-wine.jpg", "id": 14106 }, { "name": "nutmeg", "image": "https://img.spoonacular.com/ingredients_100x100/ground-nutmeg.jpg", "id": 2025 } ], "equipment": [], "step": "Pour into large white wine glass and sprinkle nutmeg on top." } ] } ], "images": [ "https://img.apileague.com/recipes/1957030-90x90.jpg", "https://img.apileague.com/recipes/1957030-312x231.jpg", "https://img.apileague.com/recipes/1957030-636x393.jpg", "https://img.apileague.com/recipes/1957030-556x370.jpg" ], "nutrition": { "weight_per_serving": { "amount": 228, "unit": "g" }, "caloric_breakdown": { "percent_fat": 56.13, "percent_carbs": 37.36, "percent_protein": 6.51 }, "flavonoids": [ { "name": "Cyanidin", "amount": 0, "unit": "" }, { "name": "Petunidin", "amount": 0, "unit": "" }, { "name": "Delphinidin", "amount": 0, "unit": "" }, { "name": "Malvidin", "amount": 0, "unit": "" }, { "name": "Pelargonidin", "amount": 0, "unit": "" }, { "name": "Peonidin", "amount": 0, "unit": "" }, { "name": "Catechin", "amount": 0, "unit": "" }, { "name": "Epigallocatechin", "amount": 0, "unit": "" }, { "name": "Epicatechin", "amount": 0, "unit": "" }, { "name": "Epicatechin 3-gallate", "amount": 0, "unit": "" }, { "name": "Epigallocatechin 3-gallate", "amount": 0, "unit": "" }, { "name": "Theaflavin", "amount": 0, "unit": "" }, { "name": "Thearubigins", "amount": 0, "unit": "" }, { "name": "Eriodictyol", "amount": 0, "unit": "" }, { "name": "Hesperetin", "amount": 0, "unit": "" }, { "name": "Naringenin", "amount": 0, "unit": "" }, { "name": "Apigenin", "amount": 0, "unit": "" }, { "name": "Luteolin", "amount": 0, "unit": "" }, { "name": "Isorhamnetin", "amount": 0, "unit": "" }, { "name": "Kaempferol", "amount": 0, "unit": "" }, { "name": "Myricetin", "amount": 0, "unit": "" }, { "name": "Quercetin", "amount": 0, "unit": "" }, { "name": "Theaflavin-3,3'-digallate", "amount": 0, "unit": "" }, { "name": "Theaflavin-3'-gallate", "amount": 0, "unit": "" }, { "name": "Theaflavin-3-gallate", "amount": 0, "unit": "" }, { "name": "Gallocatechin", "amount": 0, "unit": "" } ], "ingredient_breakdown": [ { "name": "vodka", "amount": 2, "unit": "oz", "id": 14051, "nutrients": [ { "name": "Vitamin B2", "percent_of_daily_needs": 6.77, "amount": 0, "unit": "mg" }, { "name": "Saturated Fat", "percent_of_daily_needs": 28.15, "amount": 0, "unit": "g" }, { "name": "Vitamin B1", "percent_of_daily_needs": 1.78, "amount": 0, "unit": "mg" }, { "name": "Magnesium", "percent_of_daily_needs": 2.47, "amount": 0, "unit": "mg" }, { "name": "Zinc", "percent_of_daily_needs": 1.8, "amount": 0, "unit": "mg" }, { "name": "Protein", "percent_of_daily_needs": 3.78, "amount": 0, "unit": "g" }, { "name": "Vitamin B6", "percent_of_daily_needs": 1.58, "amount": 0, "unit": "mg" }, { "name": "Net Carbohydrates", "percent_of_daily_needs": 3.79, "amount": 0, "unit": "g" }, { "name": "Copper", "percent_of_daily_needs": 2.01, "amount": 0.01, "unit": "mg" }, { "name": "Sugar", "percent_of_daily_needs": 10.69, "amount": 0, "unit": "g" }, { "name": "Manganese", "percent_of_daily_needs": 2.93, "amount": 0, "unit": "mg" }, { "name": "Poly Unsaturated Fat", "percent_of_daily_needs": 0, "amount": 0, "unit": "g" }, { "name": "Alcohol", "percent_of_daily_needs": 100, "amount": 18.94, "unit": "g" }, { "name": "Fat", "percent_of_daily_needs": 11.15, "amount": 0, "unit": "g" }, { "name": "Vitamin B5", "percent_of_daily_needs": 1.64, "amount": 0, "unit": "mg" }, { "name": "Folic Acid", "percent_of_daily_needs": 0, "amount": 0, "unit": "\u00b5g" }, { "name": "Carbohydrates", "percent_of_daily_needs": 3.62, "amount": 0, "unit": "g" }, { "name": "Potassium", "percent_of_daily_needs": 2.35, "amount": 0.57, "unit": "mg" }, { "name": "Vitamin B3", "percent_of_daily_needs": 0.44, "amount": 0, "unit": "mg" }, { "name": "Iron", "percent_of_daily_needs": 0.53, "amount": 0.01, "unit": "mg" }, { "name": "Phosphorus", "percent_of_daily_needs": 6.1, "amount": 2.83, "unit": "mg" }, { "name": "Vitamin A", "percent_of_daily_needs": 4.06, "amount": 0, "unit": "IU" }, { "name": "Calcium", "percent_of_daily_needs": 6.6, "amount": 0, "unit": "mg" }, { "name": "Fiber", "percent_of_daily_needs": 1.66, "amount": 0, "unit": "g" }, { "name": "Vitamin C", "percent_of_daily_needs": 0.69, "amount": 0, "unit": "mg" }, { "name": "Folate", "percent_of_daily_needs": 0.81, "amount": 0, "unit": "\u00b5g" }, { "name": "Sodium", "percent_of_daily_needs": 1.82, "amount": 0.57, "unit": "mg" }, { "name": "Cholesterol", "percent_of_daily_needs": 6.61, "amount": 0, "unit": "mg" }, { "name": "Calories", "percent_of_daily_needs": 12.23, "amount": 130.97, "unit": "kcal" }, { "name": "Mono Unsaturated Fat", "percent_of_daily_needs": 0, "amount": 0, "unit": "g" }, { "name": "Vitamin B12", "percent_of_daily_needs": 1.8, "amount": 0, "unit": "\u00b5g" }, { "name": "Selenium", "percent_of_daily_needs": 2.64, "amount": 0, "unit": "\u00b5g" } ] }, { "name": "half-and-half", "amount": 2, "unit": "oz", "id": 1049, "nutrients": [ { "name": "Lycopene", "percent_of_daily_needs": 0, "amount": 0, "unit": "\u00b5g" }, { "name": "Saturated Fat", "percent_of_daily_needs": 28.15, "amount": 3.99, "unit": "g" }, { "name": "Vitamin B1", "percent_of_daily_needs": 1.78, "amount": 0.02, "unit": "mg" }, { "name": "Vitamin K", "percent_of_daily_needs": 0.7, "amount": 0.74, "unit": "\u00b5g" }, { "name": "Magnesium", "percent_of_daily_needs": 2.47, "amount": 5.67, "unit": "mg" }, { "name": "Zinc", "percent_of_daily_needs": 1.8, "amount": 0.22, "unit": "mg" }, { "name": "Protein", "percent_of_daily_needs": 3.78, "amount": 1.77, "unit": "g" }, { "name": "Vitamin B6", "percent_of_daily_needs": 1.58, "amount": 0.03, "unit": "mg" }, { "name": "Net Carbohydrates", "percent_of_daily_needs": 3.79, "amount": 2.44, "unit": "g" }, { "name": "Fluoride", "percent_of_daily_needs": 0, "amount": 1.7, "unit": "mg" }, { "name": "Copper", "percent_of_daily_needs": 2.01, "amount": 0.01, "unit": "mg" }, { "name": "Caffeine", "percent_of_daily_needs": 0, "amount": 0, "unit": "mg" }, { "name": "Vitamin E", "percent_of_daily_needs": 0.94, "amount": 0.14, "unit": "mg" }, { "name": "Sugar", "percent_of_daily_needs": 10.69, "amount": 2.34, "unit": "g" }, { "name": "Manganese", "percent_of_daily_needs": 2.93, "amount": 0, "unit": "mg" }, { "name": "Poly Unsaturated Fat", "percent_of_daily_needs": 0, "amount": 0.31, "unit": "g" }, { "name": "Folic Acid", "percent_of_daily_needs": 0, "amount": 0, "unit": "\u00b5g" }, { "name": "Alcohol", "percent_of_daily_needs": 100, "amount": 0, "unit": "g" }, { "name": "Fat", "percent_of_daily_needs": 11.15, "amount": 6.52, "unit": "g" }, { "name": "Vitamin D", "percent_of_daily_needs": 0, "amount": 0, "unit": "\u00b5g" }, { "name": "Vitamin B5", "percent_of_daily_needs": 1.64, "amount": 0.16, "unit": "mg" }, { "name": "Choline", "percent_of_daily_needs": 0, "amount": 10.6, "unit": "mg" }, { "name": "Vitamin B3", "percent_of_daily_needs": 0.44, "amount": 0.06, "unit": "mg" }, { "name": "Carbohydrates", "percent_of_daily_needs": 3.62, "amount": 2.44, "unit": "g" }, { "name": "Potassium", "percent_of_daily_needs": 2.35, "amount": 74.84, "unit": "mg" }, { "name": "Iron", "percent_of_daily_needs": 0.53, "amount": 0.03, "unit": "mg" }, { "name": "Phosphorus", "percent_of_daily_needs": 6.1, "amount": 53.86, "unit": "mg" }, { "name": "Vitamin A", "percent_of_daily_needs": 4.06, "amount": 200.71, "unit": "IU" }, { "name": "Calcium", "percent_of_daily_needs": 6.6, "amount": 60.67, "unit": "mg" }, { "name": "Fiber", "percent_of_daily_needs": 1.66, "amount": 0, "unit": "g" }, { "name": "Vitamin C", "percent_of_daily_needs": 0.69, "amount": 0.51, "unit": "mg" }, { "name": "Folate", "percent_of_daily_needs": 0.81, "amount": 1.7, "unit": "\u00b5g" }, { "name": "Sodium", "percent_of_daily_needs": 1.82, "amount": 34.59, "unit": "mg" }, { "name": "Cholesterol", "percent_of_daily_needs": 6.61, "amount": 19.84, "unit": "mg" }, { "name": "Mono Unsaturated Fat", "percent_of_daily_needs": 0, "amount": 1.88, "unit": "g" }, { "name": "Calories", "percent_of_daily_needs": 12.23, "amount": 74.28, "unit": "kcal" }, { "name": "Vitamin B12", "percent_of_daily_needs": 1.8, "amount": 0.11, "unit": "\u00b5g" }, { "name": "Vitamin B2", "percent_of_daily_needs": 6.77, "amount": 0.11, "unit": "mg" }, { "name": "Selenium", "percent_of_daily_needs": 2.64, "amount": 1.81, "unit": "\u00b5g" } ] }, { "name": "limeade", "amount": 2, "unit": "oz", "id": 99185, "nutrients": [ { "name": "Vitamin B2", "percent_of_daily_needs": 6.77, "amount": 0, "unit": "mg" }, { "name": "Saturated Fat", "percent_of_daily_needs": 28.15, "amount": 0, "unit": "g" }, { "name": "Vitamin B1", "percent_of_daily_needs": 1.78, "amount": 0, "unit": "mg" }, { "name": "Vitamin K", "percent_of_daily_needs": 0.7, "amount": 0, "unit": "\u00b5g" }, { "name": "Trans Fat", "percent_of_daily_needs": 0, "amount": 0, "unit": "g" }, { "name": "Magnesium", "percent_of_daily_needs": 2.47, "amount": 0, "unit": "mg" }, { "name": "Zinc", "percent_of_daily_needs": 1.8, "amount": 0, "unit": "mg" }, { "name": "Protein", "percent_of_daily_needs": 3.78, "amount": 0, "unit": "g" }, { "name": "Vitamin B6", "percent_of_daily_needs": 1.58, "amount": 0, "unit": "mg" }, { "name": "Net Carbohydrates", "percent_of_daily_needs": 3.79, "amount": 7.43, "unit": "g" }, { "name": "Fluoride", "percent_of_daily_needs": 0, "amount": 0, "unit": "mg" }, { "name": "Copper", "percent_of_daily_needs": 2.01, "amount": 0, "unit": "mg" }, { "name": "Caffeine", "percent_of_daily_needs": 0, "amount": 0, "unit": "mg" }, { "name": "Vitamin E", "percent_of_daily_needs": 0.94, "amount": 0, "unit": "mg" }, { "name": "Sugar", "percent_of_daily_needs": 10.69, "amount": 6.71, "unit": "g" }, { "name": "Manganese", "percent_of_daily_needs": 2.93, "amount": 0, "unit": "mg" }, { "name": "Poly Unsaturated Fat", "percent_of_daily_needs": 0, "amount": 0, "unit": "g" }, { "name": "Alcohol", "percent_of_daily_needs": 100, "amount": 0, "unit": "g" }, { "name": "Fat", "percent_of_daily_needs": 11.15, "amount": 0, "unit": "g" }, { "name": "Vitamin D", "percent_of_daily_needs": 0, "amount": 0, "unit": "\u00b5g" }, { "name": "Vitamin B5", "percent_of_daily_needs": 1.64, "amount": 0, "unit": "mg" }, { "name": "Vitamin B3", "percent_of_daily_needs": 0.44, "amount": 0, "unit": "mg" }, { "name": "Carbohydrates", "percent_of_daily_needs": 3.62, "amount": 7.43, "unit": "g" }, { "name": "Potassium", "percent_of_daily_needs": 2.35, "amount": 0, "unit": "mg" }, { "name": "Iron", "percent_of_daily_needs": 0.53, "amount": 0, "unit": "mg" }, { "name": "Phosphorus", "percent_of_daily_needs": 6.1, "amount": 0, "unit": "mg" }, { "name": "Vitamin A", "percent_of_daily_needs": 4.06, "amount": 0, "unit": "IU" }, { "name": "Calcium", "percent_of_daily_needs": 6.6, "amount": 0, "unit": "mg" }, { "name": "Fiber", "percent_of_daily_needs": 1.66, "amount": 0, "unit": "g" }, { "name": "Vitamin C", "percent_of_daily_needs": 0.69, "amount": 0, "unit": "mg" }, { "name": "Folate", "percent_of_daily_needs": 0.81, "amount": 0, "unit": "\u00b5g" }, { "name": "Sodium", "percent_of_daily_needs": 1.82, "amount": 3.59, "unit": "mg" }, { "name": "Cholesterol", "percent_of_daily_needs": 6.61, "amount": 0, "unit": "mg" }, { "name": "Calories", "percent_of_daily_needs": 12.23, "amount": 28.76, "unit": "kcal" }, { "name": "Mono Unsaturated Fat", "percent_of_daily_needs": 0, "amount": 0, "unit": "g" }, { "name": "Vitamin B12", "percent_of_daily_needs": 1.8, "amount": 0, "unit": "\u00b5g" }, { "name": "Selenium", "percent_of_daily_needs": 2.64, "amount": 0, "unit": "\u00b5g" } ] }, { "name": "ice", "amount": 1, "unit": "serving", "id": 10014412, "nutrients": [ { "name": "Fat", "percent_of_daily_needs": 11.15, "amount": 0, "unit": "g" }, { "name": "Potassium", "percent_of_daily_needs": 2.35, "amount": 0, "unit": "mg" }, { "name": "Phosphorus", "percent_of_daily_needs": 6.1, "amount": 0, "unit": "mg" }, { "name": "Iron", "percent_of_daily_needs": 0.53, "amount": 0, "unit": "mg" }, { "name": "Carbohydrates", "percent_of_daily_needs": 3.62, "amount": 0, "unit": "g" }, { "name": "Calcium", "percent_of_daily_needs": 6.6, "amount": 1.68, "unit": "mg" }, { "name": "Zinc", "percent_of_daily_needs": 1.8, "amount": 0.01, "unit": "mg" }, { "name": "Magnesium", "percent_of_daily_needs": 2.47, "amount": 0.56, "unit": "mg" }, { "name": "Fiber", "percent_of_daily_needs": 1.66, "amount": 0, "unit": "g" }, { "name": "Protein", "percent_of_daily_needs": 3.78, "amount": 0, "unit": "g" }, { "name": "Net Carbohydrates", "percent_of_daily_needs": 3.79, "amount": 0, "unit": "g" }, { "name": "Fluoride", "percent_of_daily_needs": 0, "amount": 14.45, "unit": "mg" }, { "name": "Copper", "percent_of_daily_needs": 2.01, "amount": 0.01, "unit": "mg" }, { "name": "Sodium", "percent_of_daily_needs": 1.82, "amount": 2.8, "unit": "mg" }, { "name": "Manganese", "percent_of_daily_needs": 2.93, "amount": 0, "unit": "mg" }, { "name": "Calories", "percent_of_daily_needs": 12.23, "amount": 0, "unit": "kcal" } ] }, { "name": "nutmeg", "amount": 1, "unit": "serving", "id": 2025, "nutrients": [ { "name": "Vitamin B2", "percent_of_daily_needs": 6.77, "amount": 0, "unit": "mg" }, { "name": "Saturated Fat", "percent_of_daily_needs": 28.15, "amount": 0.52, "unit": "g" }, { "name": "Vitamin B1", "percent_of_daily_needs": 1.78, "amount": 0.01, "unit": "mg" }, { "name": "Vitamin K", "percent_of_daily_needs": 0.7, "amount": 0, "unit": "\u00b5g" }, { "name": "Magnesium", "percent_of_daily_needs": 2.47, "amount": 3.66, "unit": "mg" }, { "name": "Zinc", "percent_of_daily_needs": 1.8, "amount": 0.04, "unit": "mg" }, { "name": "Protein", "percent_of_daily_needs": 3.78, "amount": 0.12, "unit": "g" }, { "name": "Vitamin B6", "percent_of_daily_needs": 1.58, "amount": 0, "unit": "mg" }, { "name": "Net Carbohydrates", "percent_of_daily_needs": 3.79, "amount": 0.57, "unit": "g" }, { "name": "Copper", "percent_of_daily_needs": 2.01, "amount": 0.02, "unit": "mg" }, { "name": "Caffeine", "percent_of_daily_needs": 0, "amount": 0, "unit": "mg" }, { "name": "Vitamin E", "percent_of_daily_needs": 0.94, "amount": 0, "unit": "mg" }, { "name": "Sugar", "percent_of_daily_needs": 10.69, "amount": 0.57, "unit": "g" }, { "name": "Manganese", "percent_of_daily_needs": 2.93, "amount": 0.06, "unit": "mg" }, { "name": "Poly Unsaturated Fat", "percent_of_daily_needs": 0, "amount": 0.01, "unit": "g" }, { "name": "Alcohol", "percent_of_daily_needs": 100, "amount": 0, "unit": "g" }, { "name": "Fat", "percent_of_daily_needs": 11.15, "amount": 0.73, "unit": "g" }, { "name": "Vitamin D", "percent_of_daily_needs": 0, "amount": 0, "unit": "\u00b5g" }, { "name": "Folic Acid", "percent_of_daily_needs": 0, "amount": 0, "unit": "\u00b5g" }, { "name": "Choline", "percent_of_daily_needs": 0, "amount": 0.18, "unit": "mg" }, { "name": "Vitamin B3", "percent_of_daily_needs": 0.44, "amount": 0.03, "unit": "mg" }, { "name": "Carbohydrates", "percent_of_daily_needs": 3.62, "amount": 0.99, "unit": "g" }, { "name": "Potassium", "percent_of_daily_needs": 2.35, "amount": 7, "unit": "mg" }, { "name": "Iron", "percent_of_daily_needs": 0.53, "amount": 0.06, "unit": "mg" }, { "name": "Phosphorus", "percent_of_daily_needs": 6.1, "amount": 4.26, "unit": "mg" }, { "name": "Vitamin A", "percent_of_daily_needs": 4.06, "amount": 2.04, "unit": "IU" }, { "name": "Calcium", "percent_of_daily_needs": 6.6, "amount": 3.68, "unit": "mg" }, { "name": "Fiber", "percent_of_daily_needs": 1.66, "amount": 0.42, "unit": "g" }, { "name": "Vitamin C", "percent_of_daily_needs": 0.69, "amount": 0.06, "unit": "mg" }, { "name": "Folate", "percent_of_daily_needs": 0.81, "amount": 1.52, "unit": "\u00b5g" }, { "name": "Sodium", "percent_of_daily_needs": 1.82, "amount": 0.32, "unit": "mg" }, { "name": "Cholesterol", "percent_of_daily_needs": 6.61, "amount": 0, "unit": "mg" }, { "name": "Mono Unsaturated Fat", "percent_of_daily_needs": 0, "amount": 0.06, "unit": "g" }, { "name": "Calories", "percent_of_daily_needs": 12.23, "amount": 10.5, "unit": "kcal" }, { "name": "Vitamin B12", "percent_of_daily_needs": 1.8, "amount": 0, "unit": "\u00b5g" }, { "name": "Selenium", "percent_of_daily_needs": 2.64, "amount": 0.03, "unit": "\u00b5g" }, { "name": "Lycopene", "percent_of_daily_needs": 0, "amount": 0, "unit": "\u00b5g" } ] } ], "properties": [ { "name": "Glycemic Index", "amount": 85, "unit": "" }, { "name": "Glycemic Load", "amount": 0.4, "unit": "" }, { "name": "Inflammation Score", "amount": -1, "unit": "" }, { "name": "Nutrition Score", "amount": 2.186957, "unit": "%" } ], "nutrients": [ { "name": "Calories", "percent_of_daily_needs": 12.23, "amount": 244.51, "unit": "kcal" }, { "name": "Fat", "percent_of_daily_needs": 11.15, "amount": 7.25, "unit": "g" }, { "name": "Saturated Fat", "percent_of_daily_needs": 28.15, "amount": 4.5, "unit": "g" }, { "name": "Carbohydrates", "percent_of_daily_needs": 3.62, "amount": 10.85, "unit": "g" }, { "name": "Net Carbohydrates", "percent_of_daily_needs": 3.79, "amount": 10.44, "unit": "g" }, { "name": "Sugar", "percent_of_daily_needs": 10.69, "amount": 9.62, "unit": "g" }, { "name": "Cholesterol", "percent_of_daily_needs": 6.61, "amount": 19.84, "unit": "mg" }, { "name": "Sodium", "percent_of_daily_needs": 1.82, "amount": 41.87, "unit": "mg" }, { "name": "Alcohol", "percent_of_daily_needs": 100, "amount": 18.94, "unit": "g" }, { "name": "Alcohol %", "percent_of_daily_needs": 100, "amount": 10.52, "unit": "%" }, { "name": "Protein", "percent_of_daily_needs": 3.78, "amount": 1.89, "unit": "g" }, { "name": "Vitamin B2", "percent_of_daily_needs": 6.77, "amount": 0.12, "unit": "mg" }, { "name": "Calcium", "percent_of_daily_needs": 6.6, "amount": 66.03, "unit": "mg" }, { "name": "Phosphorus", "percent_of_daily_needs": 6.1, "amount": 60.96, "unit": "mg" }, { "name": "Vitamin A", "percent_of_daily_needs": 4.06, "amount": 202.75, "unit": "IU" }, { "name": "Manganese", "percent_of_daily_needs": 2.93, "amount": 0.06, "unit": "mg" }, { "name": "Selenium", "percent_of_daily_needs": 2.64, "amount": 1.85, "unit": "\u00b5g" }, { "name": "Magnesium", "percent_of_daily_needs": 2.47, "amount": 9.89, "unit": "mg" }, { "name": "Potassium", "percent_of_daily_needs": 2.35, "amount": 82.41, "unit": "mg" }, { "name": "Copper", "percent_of_daily_needs": 2.01, "amount": 0.04, "unit": "mg" }, { "name": "Zinc", "percent_of_daily_needs": 1.8, "amount": 0.27, "unit": "mg" }, { "name": "Vitamin B12", "percent_of_daily_needs": 1.8, "amount": 0.11, "unit": "\u00b5g" }, { "name": "Vitamin B1", "percent_of_daily_needs": 1.78, "amount": 0.03, "unit": "mg" }, { "name": "Fiber", "percent_of_daily_needs": 1.66, "amount": 0.42, "unit": "g" }, { "name": "Vitamin B5", "percent_of_daily_needs": 1.64, "amount": 0.16, "unit": "mg" }, { "name": "Vitamin B6", "percent_of_daily_needs": 1.58, "amount": 0.03, "unit": "mg" } ] }, "glass_type": "wine glass", "credits": { "text": "drinkhero", "source_name": "thecocktaildb.com", "source_url": "https://www.thecocktaildb.com/drink/16967" }, "price_per_serving": 195.84, "description": "The Vodka Fizz has a unique and intriguing taste profile. The vodka provides a robust and slightly sharp alcohol base, while the half-and-half introduces a creamy and smooth texture. The limeade adds a refreshing tangy sweetness with a citrusy zest, balancing the richness of the cream. The ice dilutes and chills the drink, making it more refreshing, and the nutmeg adds a subtle spiciness and aromatic warmth. Overall, this cocktail is a blend of creamy, tangy, slightly sweet, and mildly spicy flavors. If you enjoy complex drinks with a combination of creamy and citrusy notes, this cocktail might be a delightful choice.", "ingredients": [ { "image": "https://img.spoonacular.com/ingredients_100x100/vodka.jpg", "name_clean": "vodka", "amount": 2, "unit": "oz", "measures": { "metric": { "unit_short": "g", "amount": 56.699, "unit_long": "grams" }, "us": { "unit_short": "oz", "amount": 2, "unit_long": "ounces" } }, "original": "2 oz Vodka", "meta": [], "original_name": "Vodka", "name": "vodka", "id": 14051, "aisle": "Alcoholic Beverages", "consistency": "LIQUID" }, { "image": "https://img.spoonacular.com/ingredients_100x100/fluid-cream.jpg", "name_clean": "half and half", "amount": 2, "unit": "oz", "measures": { "metric": { "unit_short": "g", "amount": 56.699, "unit_long": "grams" }, "us": { "unit_short": "oz", "amount": 2, "unit_long": "ounces" } }, "original": "2 oz Half-and-half", "meta": [], "original_name": "Half-and-half", "name": "half-and-half", "id": 1049, "aisle": "Milk, Eggs, Other Dairy", "consistency": "SOLID" }, { "image": "https://img.spoonacular.com/ingredients_100x100/limeade.jpg", "name_clean": "limeade", "amount": 2, "unit": "oz", "measures": { "metric": { "unit_short": "g", "amount": 56.699, "unit_long": "grams" }, "us": { "unit_short": "oz", "amount": 2, "unit_long": "ounces" } }, "original": "2 oz Limeade", "meta": [], "original_name": "Limeade", "name": "limeade", "id": 99185, "aisle": "Beverages", "consistency": "SOLID" }, { "image": "https://img.spoonacular.com/ingredients_100x100/ice-cubes.png", "name_clean": "ice", "amount": 1, "unit": "serving", "measures": { "metric": { "unit_short": "serving", "amount": 1, "unit_long": "serving" }, "us": { "unit_short": "serving", "amount": 1, "unit_long": "serving" } }, "original": "Ice", "meta": [], "original_name": "Ice", "name": "ice", "id": 10014412, "aisle": "Frozen", "consistency": "SOLID" }, { "image": "https://img.spoonacular.com/ingredients_100x100/ground-nutmeg.jpg", "name_clean": "nutmeg", "amount": 1, "unit": "serving", "measures": { "metric": { "unit_short": "serving", "amount": 1, "unit_long": "serving" }, "us": { "unit_short": "serving", "amount": 1, "unit_long": "serving" } }, "original": "Nutmeg", "meta": [], "original_name": "Nutmeg", "name": "nutmeg", "id": 2025, "aisle": "Spices and Seasonings", "consistency": "SOLID" } ], "id": 1957030, "title": "Vodka Fizz", "cuisines": [] } ], "total_results": 14 } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "query", "description": "The search query.", "schema": { "pattern": ".", "maxLength": 300, "type": "string", "example": "vodka" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "glass-types", "description": "A comma-separated list (interpreted as OR) of glass types that the drink should be served in.", "schema": { "pattern": ".", "maxLength": 200, "type": "string", "example": "Highball Glass" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "flavors", "description": "A comma-separated list (interpreted as AND) of dominant flavors in the drink.", "schema": { "pattern": ".", "maxLength": 200, "type": "string", "example": "sour,sweet" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "diet", "description": "The diet the drink must adhere to. One of the following: paleo,primal,grain-free,vegan,vegetarian.", "schema": { "pattern": ".", "maxLength": 30, "type": "string", "example": "paleo" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "include-ingredients", "description": "A comma-separated list of ingredients that should/must be used in the drinks.", "schema": { "pattern": ".", "maxLength": 300, "type": "string", "example": "orange" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "exclude-ingredients", "description": "A comma-separated list of ingredients or ingredient types that the drinks must not contain.", "schema": { "pattern": ".", "maxLength": 300, "type": "string", "example": "vodka" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-calories", "description": "The minimum amount of calories the drink must have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 100 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-calories", "description": "The maximum amount of calories the drink can have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 655 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-carbs", "description": "The minimum amount of carbohydrates in grams the drink must have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 10.1 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-carbs", "description": "The maximum amount of carbohydrates in grams the drink can have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 25.5 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-protein", "description": "The minimum amount of protein in grams the drink must have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 10.1 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-protein", "description": "The maximum amount of protein in grams the drink can have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 25.5 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-fat", "description": "The minimum amount of fat in grams the drink must have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 10.1 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-fat", "description": "The maximum amount of fat in grams the drink can have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 25.5 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-alcohol-percent", "description": "The minimum alcohol percentage the drink must have.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 10 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-alcohol-percent", "description": "The maximum alcohol percentage the drink can have.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 35 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-caffeine", "description": "The minimum amount of caffeine in milligrams the drink must have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 30.4 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-caffeine", "description": "The maximum amount of caffeine in milligrams the drink can have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 80.9 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "sort", "description": "The attribute by which to sort the drinks.", "schema": { "pattern": ".", "maxLength": 100, "type": "string", "example": "calories" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "sort-direction", "description": "Whether to sort ascending or descending (ASC or DESC).", "schema": { "pattern": ".", "maxLength": 4, "type": "string", "example": "ASC" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "offset", "description": "The number of drinks to skip, between 0 and 90.", "schema": { "format": "int32", "minimum": 0, "maximum": 90, "type": "integer", "example": 0 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "number", "description": "The number of drinks, between 1 and 10.", "schema": { "format": "int32", "minimum": 1, "maximum": 10, "type": "integer", "example": 3 }, "required": false, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/search-drinks-api/" }, "summary": "Search Drinks", "tags": [ "Food" ], "description": "Search for drinks by title, ingredients, flavor, type of glass, alcohol content, and more.", "operationId": "searchDrinks", "deprecated": false } }, "/search-recipes": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "offset": { "type": "integer" }, "number": { "type": "integer" }, "recipes": { "type": "array", "items": { "type": "object", "properties": { "images": { "type": "array", "items": { "type": "string", "nullable": true } }, "nutrition": { "type": "object", "properties": { "nutrients": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "nullable": true }, "amount": { "type": "number" }, "unit": { "type": "string", "nullable": true } } } } } }, "id": { "type": "integer" }, "title": { "type": "string", "nullable": true } } } }, "total_results": { "type": "integer" } } }, "examples": { "Response": { "value": { "offset": 0, "number": 3, "recipes": [ { "images": [ "https://img.spoonacular.com/recipes/654913-312x231.jpg" ], "nutrition": { "nutrients": [ { "name": "Protein", "amount": 36.1306, "unit": "g" } ] }, "id": 654913, "title": "Pasta With Chicken and Mushrooms" }, { "images": [ "https://img.spoonacular.com/recipes/655582-312x231.jpg" ], "nutrition": { "nutrients": [ { "name": "Protein", "amount": 40.6552, "unit": "g" } ] }, "id": 655582, "title": "Penne Pasta With Chicken And Mushrooms" }, { "images": [ "https://img.spoonacular.com/recipes/1096241-312x231.jpg" ], "nutrition": { "nutrients": [ { "name": "Protein", "amount": 39.1976, "unit": "g" } ] }, "id": 1096241, "title": "Spaghetti with Peas, Mushrooms, and Tomato Sauce" } ], "total_results": 18 } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "query", "description": "The search query.", "schema": { "pattern": ".", "maxLength": 300, "type": "string", "example": "pasta with mushrooms but without nuts" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "cuisines", "description": "The cuisine(s) of the recipes. One or more, comma-separated (will be interpreted as 'OR').", "schema": { "pattern": ".", "maxLength": 300, "type": "string", "example": "mexican" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "exclude-cuisines", "description": "The cuisine(s) the recipes must not match. One or more, comma-separated (will be interpreted as 'AND').", "schema": { "pattern": ".", "maxLength": 300, "type": "string", "example": "indian,japanese" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "meal-type", "description": "The type of the recipe, one of: main course,side dish,dessert,appetizer,salad,bread,breakfast,soup,beverage,sauce,drink.", "schema": { "pattern": ".", "maxLength": 30, "type": "string", "example": "dessert" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "diet", "description": "The diet the recipes must adhere to. One of the following: paleo,primal,grain-free,pescetarian,lacto vegetarian,ovo vegetarian,vegan,vegetarian.", "schema": { "pattern": ".", "maxLength": 30, "type": "string", "example": "paleo" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "intolerances", "description": "A comma-separated list of intolerances. All recipes returned must not contain ingredients that are not suitable for people with the intolerances entered.", "schema": { "pattern": ".", "maxLength": 300, "type": "string", "example": "gluten,dairy,shellfish" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "equipment", "description": "The equipment required. Multiple values will be interpreted as 'OR'.", "schema": { "pattern": ".", "maxLength": 300, "type": "string", "example": "blender,frying pan,bowl" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "include-ingredients", "description": "A comma-separated list of ingredients that should/must be used in the recipes.", "schema": { "pattern": ".", "maxLength": 300, "type": "string", "example": "tomato,cheese" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "exclude-ingredients", "description": "A comma-separated list of ingredients or ingredient types that the recipes must not contain.", "schema": { "pattern": ".", "maxLength": 300, "type": "string", "example": "olives,capers" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "fill-ingredients", "description": "Add information about the ingredients and whether they are used or missing in relation to the query.", "schema": { "type": "boolean", "example": true }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "add-recipe-information", "description": "If set to true, you get more information about the recipes returned.", "schema": { "type": "boolean", "example": true }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-time", "description": "The maximum time in minutes it should take to prepare and cook the recipe.", "schema": { "format": "int32", "minimum": 0, "maximum": 10000, "type": "integer", "example": 45 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-servings", "description": "The minimum amount of servings the recipe is for.", "schema": { "format": "int32", "minimum": 1, "maximum": 100, "type": "integer", "example": 1 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-servings", "description": "The maximum amount of servings the recipe is for.", "schema": { "format": "int32", "minimum": 1, "maximum": 100, "type": "integer", "example": 8 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-calories", "description": "The minimum amount of calories the recipe must have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 100 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-calories", "description": "The maximum amount of calories the recipe can have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 655 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-carbs", "description": "The minimum amount of carbohydrates in grams the recipe must have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 10.1 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-carbs", "description": "The maximum amount of carbohydrates in grams the recipe can have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 25.5 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-protein", "description": "The minimum amount of protein in grams the recipe must have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 10.1 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-protein", "description": "The maximum amount of protein in grams the recipe can have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 25.5 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-fat", "description": "The minimum amount of fat in grams the recipe must have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 10.1 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-fat", "description": "The maximum amount of fat in grams the recipe can have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 25.5 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-sugar", "description": "The minimum amount of sugar in grams the recipe must have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 10.1 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-sugar", "description": "The maximum amount of sugar in grams the recipe can have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 25.5 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-fiber", "description": "The minimum amount of fiber in grams the recipe must have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 10.1 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-fiber", "description": "The maximum amount of fiber in grams the recipe can have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 25.5 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-folate", "description": "The minimum amount of folate in micrograms the recipe must have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 30.4 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-folate", "description": "The maximum amount of folate in micrograms the recipe can have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 80.9 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-folic-acid", "description": "The minimum amount of folic acid in micrograms the recipe must have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 30.4 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-folic-acid", "description": "The maximum amount of folic acid in micrograms the recipe can have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 80.9 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-iodine", "description": "The minimum amount of iodine in micrograms the recipe must have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 30.4 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-iodine", "description": "The maximum amount of iodine in micrograms the recipe can have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 80.9 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-iron", "description": "The minimum amount of iron in milligrams the recipe must have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 30.4 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-iron", "description": "The maximum amount of iron in milligrams the recipe can have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 80.9 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-zinc", "description": "The minimum amount of zinc in milligrams the recipe must have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 30.4 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-zinc", "description": "The maximum amount of zinc in milligrams the recipe can have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 80.9 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-magnesium", "description": "The minimum amount of magnesium in milligrams the recipe must have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 30.4 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-magnesium", "description": "The maximum amount of magnesium in milligrams the recipe can have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 80.9 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-manganese", "description": "The minimum amount of manganese in milligrams the recipe must have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 30.4 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-manganese", "description": "The maximum amount of manganese in milligrams the recipe can have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 80.9 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-phosphorus", "description": "The minimum amount of phosphorus in milligrams the recipe must have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 30.4 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-phosphorus", "description": "The maximum amount of phosphorus in milligrams the recipe can have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 80.9 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-potassium", "description": "The minimum amount of potassium in milligrams the recipe must have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 30.4 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-potassium", "description": "The maximum amount of potassium in milligrams the recipe can have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 80.9 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-sodium", "description": "The minimum amount of sodium in milligrams the recipe must have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 30.4 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-sodium", "description": "The maximum amount of sodium in milligrams the recipe can have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 80.9 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-selenium", "description": "The minimum amount of selenium in micrograms the recipe must have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 30.4 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-selenium", "description": "The maximum amount of selenium in micrograms the recipe can have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 80.9 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-copper", "description": "The minimum amount of copper in milligrams the recipe must have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 30.4 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-copper", "description": "The maximum amount of copper in milligrams the recipe can have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 80.9 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-calcium", "description": "The minimum amount of calcium in milligrams the recipe must have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 30.4 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-calcium", "description": "The maximum amount of calcium in milligrams the recipe can have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 80.9 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-choline", "description": "The minimum amount of choline in milligrams the recipe must have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 30.4 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-choline", "description": "The maximum amount of choline in milligrams the recipe can have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 80.9 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-cholesterol", "description": "The minimum amount of cholesterol in milligrams the recipe must have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 30.4 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-cholesterol", "description": "The maximum amount of cholesterol in milligrams the recipe can have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 80.9 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-fluoride", "description": "The minimum amount of fluoride in milligrams the recipe must have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 30.4 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-fluoride", "description": "The maximum amount of fluoride in milligrams the recipe can have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 80.9 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-alcohol", "description": "The minimum amount of alcohol in grams the recipe must have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 10.1 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-alcohol", "description": "The maximum amount of alcohol in grams the recipe can have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 25.5 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-caffeine", "description": "The minimum amount of caffeine in milligrams the recipe must have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 30.4 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-caffeine", "description": "The maximum amount of caffeine in milligrams the recipe can have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 80.9 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-saturated-fat", "description": "The minimum amount of saturated fat in grams the recipe must have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 30.4 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-saturated-fat", "description": "The maximum amount of saturated fat in grams the recipe can have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 80.9 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-vitamin-a", "description": "The minimum amount of Vitamin A in IU the recipe must have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 30.4 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-vitamin-a", "description": "The maximum amount of Vitamin A in IU the recipe can have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 80.9 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-vitamin-c", "description": "The minimum amount of Vitamin C in milligrams the recipe must have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 30.4 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-vitamin-c", "description": "The maximum amount of Vitamin C in milligrams the recipe can have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 80.9 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-vitamin-d", "description": "The minimum amount of Vitamin D in micrograms the recipe must have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 30.4 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-vitamin-d", "description": "The maximum amount of Vitamin D in micrograms the recipe can have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 80.9 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-vitamin-e", "description": "The minimum amount of Vitamin E in milligrams the recipe must have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 30.4 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-vitamin-e", "description": "The maximum amount of Vitamin E in milligrams the recipe can have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 80.9 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-vitamin-k", "description": "The minimum amount of Vitamin K in micrograms the recipe must have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 30.4 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-vitamin-k", "description": "The maximum amount of Vitamin K in micrograms the recipe can have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 80.9 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-vitamin-b1", "description": "The minimum amount of Vitamin B1 in milligrams the recipe must have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 30.4 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-vitamin-b1", "description": "The maximum amount of Vitamin B1 in milligrams the recipe can have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 80.9 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-vitamin-b2", "description": "The minimum amount of Vitamin B2 in milligrams the recipe must have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 30.4 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-vitamin-b2", "description": "The maximum amount of Vitamin B2 in milligrams the recipe can have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 80.9 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-vitamin-b3", "description": "The minimum amount of Vitamin B3 in milligrams the recipe must have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 30.4 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-vitamin-b3", "description": "The maximum amount of Vitamin B3 in milligrams the recipe can have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 80.9 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-vitamin-b5", "description": "The minimum amount of Vitamin B5 in milligrams the recipe must have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 30.4 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-vitamin-b5", "description": "The maximum amount of Vitamin B5 in milligrams the recipe can have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 80.9 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-vitamin-b6", "description": "The minimum amount of Vitamin B6 in milligrams the recipe must have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 30.4 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-vitamin-b6", "description": "The maximum amount of Vitamin B6 in milligrams the recipe can have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 80.9 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-vitamin-b12", "description": "The minimum amount of Vitamin B12 in milligrams the recipe must have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 30.4 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-vitamin-b12", "description": "The maximum amount of Vitamin B12 in milligrams the recipe can have per serving.", "schema": { "format": "double", "minimum": 0, "maximum": 99999, "type": "number", "example": 80.9 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "sort", "description": "The strategy to sort recipes by.", "schema": { "pattern": ".", "maxLength": 100, "type": "string", "example": "meta-score" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "sort-direction", "description": "Whether to sort ascending or descending (ASC or DESC).", "schema": { "pattern": ".", "maxLength": 4, "type": "string", "example": "ASC" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "offset", "description": "The number of recipes to skip, between 0 and 900.", "schema": { "format": "int32", "minimum": 0, "maximum": 900, "type": "integer", "example": 0 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "number", "description": "The number of recipes, between 1 and 100.", "schema": { "format": "int32", "minimum": 1, "maximum": 100, "type": "integer", "example": 3 }, "required": false, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/search-recipes-api/" }, "summary": "Search Recipes", "tags": [ "Food" ], "description": "Search and filter thousands of recipes with natural language, e.g. pasta recipes without mushrooms but with truffles. You can filter by ingredients, diet, cuisine, meal type, macro and micro nutrition, intolerances, and much more.", "operationId": "searchRecipes", "deprecated": false } }, "/retrieve-recipe": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer" }, "title": { "type": "string", "nullable": true }, "servings": { "type": "integer" }, "images": { "type": "array", "items": { "type": "string", "nullable": true } }, "dietary_properties": { "type": "object", "properties": { "low_fodmap": { "type": "boolean" }, "vegetarian": { "type": "boolean" }, "vegan": { "type": "boolean" }, "gluten_free": { "type": "boolean" }, "dairy_free": { "type": "boolean" }, "gaps": { "type": "string", "nullable": true }, "diets": { "type": "array", "items": { "type": "string", "nullable": true } } } }, "price_per_serving": { "type": "number" }, "times": { "type": "object", "properties": { "total_minutes": { "type": "integer" } } }, "nutrition": { "type": "object", "properties": { "weight_per_serving": { "type": "object", "properties": { "amount": { "type": "integer" }, "unit": { "type": "string", "nullable": true } } }, "caloric_breakdown": { "type": "object", "properties": { "percent_fat": { "type": "number" }, "percent_carbs": { "type": "number" }, "percent_protein": { "type": "number" } } }, "flavonoids": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "nullable": true }, "amount": { "type": "integer" }, "unit": { "type": "string", "nullable": true } } } }, "ingredient_breakdown": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "nullable": true }, "amount": { "type": "number" }, "unit": { "type": "string", "nullable": true }, "id": { "type": "integer" }, "nutrients": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "nullable": true }, "percent_of_daily_needs": { "type": "number" }, "amount": { "type": "number" }, "unit": { "type": "string", "nullable": true } } } } } } }, "properties": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "nullable": true }, "amount": { "type": "number" }, "unit": { "type": "string", "nullable": true } } } }, "nutrients": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "nullable": true }, "percent_of_daily_needs": { "type": "number" }, "amount": { "type": "number" }, "unit": { "type": "string", "nullable": true } } } } } }, "taste": { "type": "object", "properties": { "fattiness": { "type": "number" }, "spiciness": { "type": "integer" }, "saltiness": { "type": "integer" }, "bitterness": { "type": "number" }, "savoriness": { "type": "number" }, "sweetness": { "type": "number" }, "sourness": { "type": "number" } } }, "cuisines": { "type": "array", "items": { "type": "string", "nullable": true } }, "meal_types": { "type": "array", "items": { "type": "string", "nullable": true } }, "occasions": { "type": "array", "items": { "type": "string", "nullable": true } }, "ingredients": { "type": "array", "items": { "type": "object", "properties": { "image": { "type": "string", "nullable": true }, "name_clean": { "type": "string", "nullable": true }, "amount": { "type": "number" }, "unit": { "type": "string", "nullable": true }, "measures": { "type": "object", "properties": { "metric": { "type": "object", "properties": { "unit_short": { "type": "string", "nullable": true }, "amount": { "type": "number" }, "unit_long": { "type": "string", "nullable": true } } }, "us": { "type": "object", "properties": { "unit_short": { "type": "string", "nullable": true }, "amount": { "type": "number" }, "unit_long": { "type": "string", "nullable": true } } } } }, "original": { "type": "string", "nullable": true }, "meta": { "type": "array", "items": { "type": "string", "nullable": true } }, "original_name": { "type": "string", "nullable": true }, "name": { "type": "string", "nullable": true }, "id": { "type": "integer" }, "aisle": { "type": "string", "nullable": true }, "consistency": { "type": "string", "nullable": true } } } }, "instructions": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "nullable": true }, "steps": { "type": "array", "items": { "type": "object", "properties": { "number": { "type": "integer" }, "ingredients": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "nullable": true }, "image": { "type": "string", "nullable": true }, "id": { "type": "integer" } } } }, "equipment": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "nullable": true }, "image": { "type": "string", "nullable": true }, "id": { "type": "integer" } } } }, "step": { "type": "string", "nullable": true } } } } } } }, "credits": { "type": "object", "properties": { "license": { "type": "string", "nullable": true }, "text": { "type": "string", "nullable": true }, "source_name": { "type": "string", "nullable": true }, "source_url": { "type": "string", "nullable": true } } }, "scores": { "type": "object", "properties": { "meta_score": { "type": "number" }, "weight_watcher_smart_points": { "type": "integer" }, "health_score": { "type": "integer" } } } } }, "examples": { "Response": { "value": { "id": 654913, "title": "Pasta With Chicken and Mushrooms", "servings": 6, "images": [ "https://img.spoonacular.com/recipes/654913-90x90.jpg", "https://img.spoonacular.com/recipes/654913-312x231.jpg", "https://img.spoonacular.com/recipes/654913-556x370.jpg", "https://img.spoonacular.com/recipes/654913-636x393.jpg" ], "dietary_properties": { "low_fodmap": false, "vegetarian": false, "vegan": false, "gluten_free": false, "dairy_free": true, "gaps": "no", "diets": [ "DAIRY_FREE" ] }, "price_per_serving": 175.15, "times": { "total_minutes": 45 }, "nutrition": { "weight_per_serving": { "amount": 360, "unit": "g" }, "caloric_breakdown": { "percent_fat": 11.44, "percent_carbs": 56.33, "percent_protein": 32.23 }, "flavonoids": [ { "name": "Cyanidin", "amount": 0, "unit": "" }, { "name": "Petunidin", "amount": 0, "unit": "" }, { "name": "Delphinidin", "amount": 0, "unit": "" }, { "name": "Malvidin", "amount": 0, "unit": "" }, { "name": "Pelargonidin", "amount": 0, "unit": "" }, { "name": "Peonidin", "amount": 0, "unit": "" }, { "name": "Catechin", "amount": 0, "unit": "mg" }, { "name": "Epigallocatechin", "amount": 0, "unit": "mg" }, { "name": "Epicatechin", "amount": 0, "unit": "mg" }, { "name": "Epicatechin 3-gallate", "amount": 0, "unit": "mg" }, { "name": "Epigallocatechin 3-gallate", "amount": 0, "unit": "mg" }, { "name": "Theaflavin", "amount": 0, "unit": "" }, { "name": "Thearubigins", "amount": 0, "unit": "" }, { "name": "Eriodictyol", "amount": 0, "unit": "" }, { "name": "Hesperetin", "amount": 0, "unit": "mg" }, { "name": "Naringenin", "amount": 0, "unit": "mg" }, { "name": "Apigenin", "amount": 0, "unit": "mg" }, { "name": "Luteolin", "amount": 0.04, "unit": "mg" }, { "name": "Isorhamnetin", "amount": 0, "unit": "mg" }, { "name": "Kaempferol", "amount": 0, "unit": "mg" }, { "name": "Myricetin", "amount": 0, "unit": "mg" }, { "name": "Quercetin", "amount": 0, "unit": "mg" }, { "name": "Theaflavin-3,3'-digallate", "amount": 0, "unit": "" }, { "name": "Theaflavin-3'-gallate", "amount": 0, "unit": "" }, { "name": "Theaflavin-3-gallate", "amount": 0, "unit": "" }, { "name": "Gallocatechin", "amount": 0, "unit": "mg" } ], "ingredient_breakdown": [ { "name": "balsamic vinegar", "amount": 0.04, "unit": "cup", "id": 2069, "nutrients": [ { "name": "Zinc", "percent_of_daily_needs": 14.79, "amount": 0.01, "unit": "mg" }, { "name": "Protein", "percent_of_daily_needs": 74.6, "amount": 0.05, "unit": "g" }, { "name": "Copper", "percent_of_daily_needs": 25.71, "amount": 0, "unit": "mg" }, { "name": "Carbohydrates", "percent_of_daily_needs": 21.73, "amount": 1.81, "unit": "g" }, { "name": "Sodium", "percent_of_daily_needs": 23.02, "amount": 2.44, "unit": "mg" }, { "name": "Trans Fat", "percent_of_daily_needs": 135.6, "amount": 0, "unit": "g" }, { "name": "Vitamin C", "percent_of_daily_needs": 3.74, "amount": 0, "unit": "mg" }, { "name": "Calories", "percent_of_daily_needs": 23.56, "amount": 9.35, "unit": "kcal" }, { "name": "Net Carbohydrates", "percent_of_daily_needs": 22.48, "amount": 1.81, "unit": "g" }, { "name": "Saturated Fat", "percent_of_daily_needs": 6.83, "amount": 0, "unit": "g" }, { "name": "Potassium", "percent_of_daily_needs": 24.61, "amount": 11.9, "unit": "mg" }, { "name": "Vitamin A", "percent_of_daily_needs": 0.83, "amount": 0, "unit": "IU" }, { "name": "Magnesium", "percent_of_daily_needs": 19.97, "amount": 1.27, "unit": "mg" }, { "name": "Iron", "percent_of_daily_needs": 12.21, "amount": 0.08, "unit": "mg" }, { "name": "Manganese", "percent_of_daily_needs": 42.77, "amount": 0.01, "unit": "mg" }, { "name": "Calcium", "percent_of_daily_needs": 3.19, "amount": 2.87, "unit": "mg" }, { "name": "Phosphorus", "percent_of_daily_needs": 45.63, "amount": 2.02, "unit": "mg" }, { "name": "Sugar", "percent_of_daily_needs": 6.06, "amount": 1.59, "unit": "g" }, { "name": "Fat", "percent_of_daily_needs": 9.05, "amount": 0, "unit": "g" } ] }, { "name": "bay leaf", "amount": 0.17, "unit": "", "id": 2004, "nutrients": [ { "name": "Folic Acid", "percent_of_daily_needs": 0, "amount": 0, "unit": "\u00b5g" }, { "name": "Cholesterol", "percent_of_daily_needs": 24.63, "amount": 0, "unit": "mg" }, { "name": "Zinc", "percent_of_daily_needs": 14.79, "amount": 0, "unit": "mg" }, { "name": "Vitamin B2", "percent_of_daily_needs": 31.47, "amount": 0, "unit": "mg" }, { "name": "Vitamin B6", "percent_of_daily_needs": 51.78, "amount": 0, "unit": "mg" }, { "name": "Potassium", "percent_of_daily_needs": 24.61, "amount": 0.09, "unit": "mg" }, { "name": "Folate", "percent_of_daily_needs": 10.15, "amount": 0.03, "unit": "\u00b5g" }, { "name": "Vitamin B12", "percent_of_daily_needs": 4.53, "amount": 0, "unit": "\u00b5g" }, { "name": "Saturated Fat", "percent_of_daily_needs": 6.83, "amount": 0, "unit": "g" }, { "name": "Net Carbohydrates", "percent_of_daily_needs": 22.48, "amount": 0.01, "unit": "g" }, { "name": "Phosphorus", "percent_of_daily_needs": 45.63, "amount": 0.02, "unit": "mg" }, { "name": "Manganese", "percent_of_daily_needs": 42.77, "amount": 0, "unit": "mg" }, { "name": "Vitamin D", "percent_of_daily_needs": 1.76, "amount": 0, "unit": "\u00b5g" }, { "name": "Fat", "percent_of_daily_needs": 9.05, "amount": 0, "unit": "g" }, { "name": "Alcohol", "percent_of_daily_needs": 0, "amount": 0, "unit": "g" }, { "name": "Protein", "percent_of_daily_needs": 74.6, "amount": 0, "unit": "g" }, { "name": "Vitamin B1", "percent_of_daily_needs": 17.28, "amount": 0, "unit": "mg" }, { "name": "Copper", "percent_of_daily_needs": 25.71, "amount": 0, "unit": "mg" }, { "name": "Carbohydrates", "percent_of_daily_needs": 21.73, "amount": 0.01, "unit": "g" }, { "name": "Sodium", "percent_of_daily_needs": 23.02, "amount": 0, "unit": "mg" }, { "name": "Poly Unsaturated Fat", "percent_of_daily_needs": 0, "amount": 0, "unit": "g" }, { "name": "Vitamin C", "percent_of_daily_needs": 3.74, "amount": 0.01, "unit": "mg" }, { "name": "Calories", "percent_of_daily_needs": 23.56, "amount": 0.05, "unit": "kcal" }, { "name": "Mono Unsaturated Fat", "percent_of_daily_needs": 0, "amount": 0, "unit": "g" }, { "name": "Iron", "percent_of_daily_needs": 12.21, "amount": 0.01, "unit": "mg" }, { "name": "Vitamin B3", "percent_of_daily_needs": 81.42, "amount": 0, "unit": "mg" }, { "name": "Magnesium", "percent_of_daily_needs": 19.97, "amount": 0.02, "unit": "mg" }, { "name": "Selenium", "percent_of_daily_needs": 132.94, "amount": 0, "unit": "\u00b5g" }, { "name": "Calcium", "percent_of_daily_needs": 3.19, "amount": 0.14, "unit": "mg" }, { "name": "Vitamin A", "percent_of_daily_needs": 0.83, "amount": 1.03, "unit": "IU" }, { "name": "Fiber", "percent_of_daily_needs": 13.5, "amount": 0, "unit": "g" } ] }, { "name": "chicken breast halves", "amount": 1, "unit": "", "id": 1045062, "nutrients": [ { "name": "Folic Acid", "percent_of_daily_needs": 0, "amount": 0, "unit": "\u00b5g" }, { "name": "Cholesterol", "percent_of_daily_needs": 24.63, "amount": 72.32, "unit": "mg" }, { "name": "Zinc", "percent_of_daily_needs": 14.79, "amount": 0.66, "unit": "mg" }, { "name": "Vitamin E", "percent_of_daily_needs": 3.56, "amount": 0.21, "unit": "mg" }, { "name": "Vitamin B6", "percent_of_daily_needs": 51.78, "amount": 0.85, "unit": "mg" }, { "name": "Vitamin B2", "percent_of_daily_needs": 31.47, "amount": 0.11, "unit": "mg" }, { "name": "Caffeine", "percent_of_daily_needs": 0, "amount": 0, "unit": "mg" }, { "name": "Potassium", "percent_of_daily_needs": 24.61, "amount": 418.1, "unit": "mg" }, { "name": "Vitamin B12", "percent_of_daily_needs": 4.53, "amount": 0.23, "unit": "\u00b5g" }, { "name": "Folate", "percent_of_daily_needs": 10.15, "amount": 4.52, "unit": "\u00b5g" }, { "name": "Saturated Fat", "percent_of_daily_needs": 6.83, "amount": 0.64, "unit": "g" }, { "name": "Net Carbohydrates", "percent_of_daily_needs": 22.48, "amount": 0, "unit": "g" }, { "name": "Phosphorus", "percent_of_daily_needs": 45.63, "amount": 237.3, "unit": "mg" }, { "name": "Manganese", "percent_of_daily_needs": 42.77, "amount": 0.02, "unit": "mg" }, { "name": "Vitamin D", "percent_of_daily_needs": 1.76, "amount": 0.11, "unit": "\u00b5g" }, { "name": "Fat", "percent_of_daily_needs": 9.05, "amount": 2.93, "unit": "g" }, { "name": "Alcohol", "percent_of_daily_needs": 0, "amount": 0, "unit": "g" }, { "name": "Vitamin B5", "percent_of_daily_needs": 31, "amount": 1.61, "unit": "mg" }, { "name": "Lycopene", "percent_of_daily_needs": 0, "amount": 0, "unit": "\u00b5g" }, { "name": "Vitamin K", "percent_of_daily_needs": 1.33, "amount": 0.23, "unit": "\u00b5g" }, { "name": "Protein", "percent_of_daily_needs": 74.6, "amount": 23.99, "unit": "g" }, { "name": "Vitamin B1", "percent_of_daily_needs": 17.28, "amount": 0.07, "unit": "mg" }, { "name": "Copper", "percent_of_daily_needs": 25.71, "amount": 0.03, "unit": "mg" }, { "name": "Carbohydrates", "percent_of_daily_needs": 21.73, "amount": 0, "unit": "g" }, { "name": "Poly Unsaturated Fat", "percent_of_daily_needs": 0, "amount": 0.45, "unit": "g" }, { "name": "Sodium", "percent_of_daily_needs": 23.02, "amount": 131.08, "unit": "mg" }, { "name": "Trans Fat", "percent_of_daily_needs": 135.6, "amount": 0.01, "unit": "g" }, { "name": "Vitamin C", "percent_of_daily_needs": 3.74, "amount": 1.36, "unit": "mg" }, { "name": "Calories", "percent_of_daily_needs": 23.56, "amount": 128.82, "unit": "kcal" }, { "name": "Mono Unsaturated Fat", "percent_of_daily_needs": 0, "amount": 0.86, "unit": "g" }, { "name": "Choline", "percent_of_daily_needs": 0, "amount": 82.94, "unit": "mg" }, { "name": "Vitamin B3", "percent_of_daily_needs": 81.42, "amount": 11.79, "unit": "mg" }, { "name": "Iron", "percent_of_daily_needs": 12.21, "amount": 0.42, "unit": "mg" }, { "name": "Magnesium", "percent_of_daily_needs": 19.97, "amount": 29.38, "unit": "mg" }, { "name": "Selenium", "percent_of_daily_needs": 132.94, "amount": 36.16, "unit": "\u00b5g" }, { "name": "Calcium", "percent_of_daily_needs": 3.19, "amount": 5.65, "unit": "mg" }, { "name": "Vitamin A", "percent_of_daily_needs": 0.83, "amount": 33.9, "unit": "IU" }, { "name": "Sugar", "percent_of_daily_needs": 6.06, "amount": 0, "unit": "g" }, { "name": "Fiber", "percent_of_daily_needs": 13.5, "amount": 0, "unit": "g" } ] }, { "name": "chicken broth", "amount": 0.33, "unit": "cups", "id": 6194, "nutrients": [ { "name": "Folic Acid", "percent_of_daily_needs": 0, "amount": 0, "unit": "\u00b5g" }, { "name": "Cholesterol", "percent_of_daily_needs": 24.63, "amount": 1.57, "unit": "mg" }, { "name": "Zinc", "percent_of_daily_needs": 14.79, "amount": 0.05, "unit": "mg" }, { "name": "Vitamin E", "percent_of_daily_needs": 3.56, "amount": 0.03, "unit": "mg" }, { "name": "Vitamin B6", "percent_of_daily_needs": 51.78, "amount": 0, "unit": "mg" }, { "name": "Vitamin B2", "percent_of_daily_needs": 31.47, "amount": 0.05, "unit": "mg" }, { "name": "Caffeine", "percent_of_daily_needs": 0, "amount": 0, "unit": "mg" }, { "name": "Potassium", "percent_of_daily_needs": 24.61, "amount": 14.1, "unit": "mg" }, { "name": "Vitamin B12", "percent_of_daily_needs": 4.53, "amount": 0.02, "unit": "\u00b5g" }, { "name": "Folate", "percent_of_daily_needs": 10.15, "amount": 0, "unit": "\u00b5g" }, { "name": "Saturated Fat", "percent_of_daily_needs": 6.83, "amount": 0.01, "unit": "g" }, { "name": "Net Carbohydrates", "percent_of_daily_needs": 22.48, "amount": 0.34, "unit": "g" }, { "name": "Phosphorus", "percent_of_daily_needs": 45.63, "amount": 3.13, "unit": "mg" }, { "name": "Manganese", "percent_of_daily_needs": 42.77, "amount": 0.04, "unit": "mg" }, { "name": "Vitamin D", "percent_of_daily_needs": 1.76, "amount": 0, "unit": "\u00b5g" }, { "name": "Fat", "percent_of_daily_needs": 9.05, "amount": 0.16, "unit": "g" }, { "name": "Alcohol", "percent_of_daily_needs": 0, "amount": 0, "unit": "g" }, { "name": "Vitamin B5", "percent_of_daily_needs": 31, "amount": 0.01, "unit": "mg" }, { "name": "Lycopene", "percent_of_daily_needs": 0, "amount": 0, "unit": "\u00b5g" }, { "name": "Vitamin K", "percent_of_daily_needs": 1.33, "amount": 0, "unit": "\u00b5g" }, { "name": "Protein", "percent_of_daily_needs": 74.6, "amount": 0.5, "unit": "g" }, { "name": "Vitamin B1", "percent_of_daily_needs": 17.28, "amount": 0.02, "unit": "mg" }, { "name": "Copper", "percent_of_daily_needs": 25.71, "amount": 0.01, "unit": "mg" }, { "name": "Carbohydrates", "percent_of_daily_needs": 21.73, "amount": 0.34, "unit": "g" }, { "name": "Sodium", "percent_of_daily_needs": 23.02, "amount": 290.62, "unit": "mg" }, { "name": "Poly Unsaturated Fat", "percent_of_daily_needs": 0, "amount": 0.01, "unit": "g" }, { "name": "Vitamin C", "percent_of_daily_needs": 3.74, "amount": 0, "unit": "mg" }, { "name": "Calories", "percent_of_daily_needs": 23.56, "amount": 4.7, "unit": "kcal" }, { "name": "Mono Unsaturated Fat", "percent_of_daily_needs": 0, "amount": 0.01, "unit": "g" }, { "name": "Choline", "percent_of_daily_needs": 0, "amount": 0.78, "unit": "mg" }, { "name": "Vitamin B3", "percent_of_daily_needs": 81.42, "amount": 0.17, "unit": "mg" }, { "name": "Iron", "percent_of_daily_needs": 12.21, "amount": 0.05, "unit": "mg" }, { "name": "Magnesium", "percent_of_daily_needs": 19.97, "amount": 0.78, "unit": "mg" }, { "name": "Selenium", "percent_of_daily_needs": 132.94, "amount": 0.31, "unit": "\u00b5g" }, { "name": "Calcium", "percent_of_daily_needs": 3.19, "amount": 3.13, "unit": "mg" }, { "name": "Vitamin A", "percent_of_daily_needs": 0.83, "amount": 1.57, "unit": "IU" }, { "name": "Sugar", "percent_of_daily_needs": 6.06, "amount": 0.34, "unit": "g" }, { "name": "Fiber", "percent_of_daily_needs": 13.5, "amount": 0, "unit": "g" } ] }, { "name": "flour", "amount": 0.04, "unit": "cup", "id": 20081, "nutrients": [ { "name": "Folic Acid", "percent_of_daily_needs": 0, "amount": 8.02, "unit": "\u00b5g" }, { "name": "Cholesterol", "percent_of_daily_needs": 24.63, "amount": 0, "unit": "mg" }, { "name": "Zinc", "percent_of_daily_needs": 14.79, "amount": 0.04, "unit": "mg" }, { "name": "Vitamin E", "percent_of_daily_needs": 3.56, "amount": 0, "unit": "mg" }, { "name": "Vitamin B6", "percent_of_daily_needs": 51.78, "amount": 0, "unit": "mg" }, { "name": "Vitamin B2", "percent_of_daily_needs": 31.47, "amount": 0.03, "unit": "mg" }, { "name": "Caffeine", "percent_of_daily_needs": 0, "amount": 0, "unit": "mg" }, { "name": "Potassium", "percent_of_daily_needs": 24.61, "amount": 5.57, "unit": "mg" }, { "name": "Vitamin B12", "percent_of_daily_needs": 4.53, "amount": 0, "unit": "\u00b5g" }, { "name": "Folate", "percent_of_daily_needs": 10.15, "amount": 9.53, "unit": "\u00b5g" }, { "name": "Saturated Fat", "percent_of_daily_needs": 6.83, "amount": 0.01, "unit": "g" }, { "name": "Net Carbohydrates", "percent_of_daily_needs": 22.48, "amount": 3.83, "unit": "g" }, { "name": "Phosphorus", "percent_of_daily_needs": 45.63, "amount": 5.63, "unit": "mg" }, { "name": "Manganese", "percent_of_daily_needs": 42.77, "amount": 0.04, "unit": "mg" }, { "name": "Vitamin D", "percent_of_daily_needs": 1.76, "amount": 0, "unit": "\u00b5g" }, { "name": "Fat", "percent_of_daily_needs": 9.05, "amount": 0.05, "unit": "g" }, { "name": "Alcohol", "percent_of_daily_needs": 0, "amount": 0, "unit": "g" }, { "name": "Vitamin B5", "percent_of_daily_needs": 31, "amount": 0.02, "unit": "mg" }, { "name": "Lycopene", "percent_of_daily_needs": 0, "amount": 0, "unit": "\u00b5g" }, { "name": "Vitamin K", "percent_of_daily_needs": 1.33, "amount": 0.02, "unit": "\u00b5g" }, { "name": "Protein", "percent_of_daily_needs": 74.6, "amount": 0.54, "unit": "g" }, { "name": "Vitamin B1", "percent_of_daily_needs": 17.28, "amount": 0.04, "unit": "mg" }, { "name": "Copper", "percent_of_daily_needs": 25.71, "amount": 0.01, "unit": "mg" }, { "name": "Carbohydrates", "percent_of_daily_needs": 21.73, "amount": 3.97, "unit": "g" }, { "name": "Sodium", "percent_of_daily_needs": 23.02, "amount": 0.1, "unit": "mg" }, { "name": "Poly Unsaturated Fat", "percent_of_daily_needs": 0, "amount": 0.02, "unit": "g" }, { "name": "Vitamin C", "percent_of_daily_needs": 3.74, "amount": 0, "unit": "mg" }, { "name": "Calories", "percent_of_daily_needs": 23.56, "amount": 18.96, "unit": "kcal" }, { "name": "Mono Unsaturated Fat", "percent_of_daily_needs": 0, "amount": 0, "unit": "g" }, { "name": "Choline", "percent_of_daily_needs": 0, "amount": 0.54, "unit": "mg" }, { "name": "Vitamin B3", "percent_of_daily_needs": 81.42, "amount": 0.31, "unit": "mg" }, { "name": "Iron", "percent_of_daily_needs": 12.21, "amount": 0.24, "unit": "mg" }, { "name": "Magnesium", "percent_of_daily_needs": 19.97, "amount": 1.15, "unit": "mg" }, { "name": "Selenium", "percent_of_daily_needs": 132.94, "amount": 1.77, "unit": "\u00b5g" }, { "name": "Calcium", "percent_of_daily_needs": 3.19, "amount": 0.78, "unit": "mg" }, { "name": "Vitamin A", "percent_of_daily_needs": 0.83, "amount": 0, "unit": "IU" }, { "name": "Sugar", "percent_of_daily_needs": 6.06, "amount": 0.01, "unit": "g" }, { "name": "Fiber", "percent_of_daily_needs": 13.5, "amount": 0.14, "unit": "g" } ] }, { "name": "linguini", "amount": 0.17, "unit": "pound", "id": 10720420, "nutrients": [ { "name": "Folic Acid", "percent_of_daily_needs": 0, "amount": 0, "unit": "\u00b5g" }, { "name": "Cholesterol", "percent_of_daily_needs": 24.63, "amount": 0, "unit": "mg" }, { "name": "Zinc", "percent_of_daily_needs": 14.79, "amount": 1.07, "unit": "mg" }, { "name": "Vitamin E", "percent_of_daily_needs": 3.56, "amount": 0.08, "unit": "mg" }, { "name": "Vitamin B6", "percent_of_daily_needs": 51.78, "amount": 0.11, "unit": "mg" }, { "name": "Vitamin B2", "percent_of_daily_needs": 31.47, "amount": 0.05, "unit": "mg" }, { "name": "Potassium", "percent_of_daily_needs": 24.61, "amount": 168.59, "unit": "mg" }, { "name": "Vitamin B12", "percent_of_daily_needs": 4.53, "amount": 0, "unit": "\u00b5g" }, { "name": "Folate", "percent_of_daily_needs": 10.15, "amount": 13.61, "unit": "\u00b5g" }, { "name": "Saturated Fat", "percent_of_daily_needs": 6.83, "amount": 0.21, "unit": "g" }, { "name": "Net Carbohydrates", "percent_of_daily_needs": 22.48, "amount": 54.03, "unit": "g" }, { "name": "Phosphorus", "percent_of_daily_needs": 45.63, "amount": 142.88, "unit": "mg" }, { "name": "Manganese", "percent_of_daily_needs": 42.77, "amount": 0.69, "unit": "mg" }, { "name": "Vitamin D", "percent_of_daily_needs": 1.76, "amount": 0, "unit": "\u00b5g" }, { "name": "Fat", "percent_of_daily_needs": 9.05, "amount": 1.14, "unit": "g" }, { "name": "Alcohol", "percent_of_daily_needs": 0, "amount": 0, "unit": "g" }, { "name": "Vitamin B5", "percent_of_daily_needs": 31, "amount": 0.33, "unit": "mg" }, { "name": "Vitamin K", "percent_of_daily_needs": 1.33, "amount": 0.08, "unit": "\u00b5g" }, { "name": "Protein", "percent_of_daily_needs": 74.6, "amount": 9.86, "unit": "g" }, { "name": "Vitamin B1", "percent_of_daily_needs": 17.28, "amount": 0.07, "unit": "mg" }, { "name": "Copper", "percent_of_daily_needs": 25.71, "amount": 0.22, "unit": "mg" }, { "name": "Carbohydrates", "percent_of_daily_needs": 21.73, "amount": 56.45, "unit": "g" }, { "name": "Poly Unsaturated Fat", "percent_of_daily_needs": 0, "amount": 0.43, "unit": "g" }, { "name": "Sodium", "percent_of_daily_needs": 23.02, "amount": 4.54, "unit": "mg" }, { "name": "Trans Fat", "percent_of_daily_needs": 135.6, "amount": 0, "unit": "g" }, { "name": "Vitamin C", "percent_of_daily_needs": 3.74, "amount": 0, "unit": "mg" }, { "name": "Calories", "percent_of_daily_needs": 23.56, "amount": 280.47, "unit": "kcal" }, { "name": "Mono Unsaturated Fat", "percent_of_daily_needs": 0, "amount": 0.13, "unit": "g" }, { "name": "Iron", "percent_of_daily_needs": 12.21, "amount": 0.98, "unit": "mg" }, { "name": "Vitamin B3", "percent_of_daily_needs": 81.42, "amount": 1.29, "unit": "mg" }, { "name": "Magnesium", "percent_of_daily_needs": 19.97, "amount": 40.07, "unit": "mg" }, { "name": "Selenium", "percent_of_daily_needs": 132.94, "amount": 47.78, "unit": "\u00b5g" }, { "name": "Calcium", "percent_of_daily_needs": 3.19, "amount": 15.88, "unit": "mg" }, { "name": "Vitamin A", "percent_of_daily_needs": 0.83, "amount": 0, "unit": "IU" }, { "name": "Sugar", "percent_of_daily_needs": 6.06, "amount": 2.02, "unit": "g" }, { "name": "Fiber", "percent_of_daily_needs": 13.5, "amount": 2.42, "unit": "g" } ] }, { "name": "mushrooms", "amount": 0.08, "unit": "pound", "id": 11260, "nutrients": [ { "name": "Folic Acid", "percent_of_daily_needs": 0, "amount": 0, "unit": "\u00b5g" }, { "name": "Cholesterol", "percent_of_daily_needs": 24.63, "amount": 0, "unit": "mg" }, { "name": "Zinc", "percent_of_daily_needs": 14.79, "amount": 0.2, "unit": "mg" }, { "name": "Vitamin E", "percent_of_daily_needs": 3.56, "amount": 0, "unit": "mg" }, { "name": "Vitamin B6", "percent_of_daily_needs": 51.78, "amount": 0.04, "unit": "mg" }, { "name": "Vitamin B2", "percent_of_daily_needs": 31.47, "amount": 0.15, "unit": "mg" }, { "name": "Caffeine", "percent_of_daily_needs": 0, "amount": 0, "unit": "mg" }, { "name": "Potassium", "percent_of_daily_needs": 24.61, "amount": 120.2, "unit": "mg" }, { "name": "Vitamin B12", "percent_of_daily_needs": 4.53, "amount": 0.02, "unit": "\u00b5g" }, { "name": "Folate", "percent_of_daily_needs": 10.15, "amount": 6.43, "unit": "\u00b5g" }, { "name": "Saturated Fat", "percent_of_daily_needs": 6.83, "amount": 0.02, "unit": "g" }, { "name": "Net Carbohydrates", "percent_of_daily_needs": 22.48, "amount": 0.85, "unit": "g" }, { "name": "Phosphorus", "percent_of_daily_needs": 45.63, "amount": 32.51, "unit": "mg" }, { "name": "Manganese", "percent_of_daily_needs": 42.77, "amount": 0.02, "unit": "mg" }, { "name": "Vitamin D", "percent_of_daily_needs": 1.76, "amount": 0.08, "unit": "\u00b5g" }, { "name": "Fat", "percent_of_daily_needs": 9.05, "amount": 0.13, "unit": "g" }, { "name": "Alcohol", "percent_of_daily_needs": 0, "amount": 0, "unit": "g" }, { "name": "Vitamin B5", "percent_of_daily_needs": 31, "amount": 0.57, "unit": "mg" }, { "name": "Lycopene", "percent_of_daily_needs": 0, "amount": 0, "unit": "\u00b5g" }, { "name": "Vitamin K", "percent_of_daily_needs": 1.33, "amount": 0, "unit": "\u00b5g" }, { "name": "Protein", "percent_of_daily_needs": 74.6, "amount": 1.17, "unit": "g" }, { "name": "Vitamin B1", "percent_of_daily_needs": 17.28, "amount": 0.03, "unit": "mg" }, { "name": "Copper", "percent_of_daily_needs": 25.71, "amount": 0.12, "unit": "mg" }, { "name": "Carbohydrates", "percent_of_daily_needs": 21.73, "amount": 1.23, "unit": "g" }, { "name": "Sodium", "percent_of_daily_needs": 23.02, "amount": 1.89, "unit": "mg" }, { "name": "Poly Unsaturated Fat", "percent_of_daily_needs": 0, "amount": 0.06, "unit": "g" }, { "name": "Vitamin C", "percent_of_daily_needs": 3.74, "amount": 0.79, "unit": "mg" }, { "name": "Calories", "percent_of_daily_needs": 23.56, "amount": 8.32, "unit": "kcal" }, { "name": "Mono Unsaturated Fat", "percent_of_daily_needs": 0, "amount": 0, "unit": "g" }, { "name": "Choline", "percent_of_daily_needs": 0, "amount": 6.54, "unit": "mg" }, { "name": "Vitamin B3", "percent_of_daily_needs": 81.42, "amount": 1.36, "unit": "mg" }, { "name": "Iron", "percent_of_daily_needs": 12.21, "amount": 0.19, "unit": "mg" }, { "name": "Magnesium", "percent_of_daily_needs": 19.97, "amount": 3.4, "unit": "mg" }, { "name": "Selenium", "percent_of_daily_needs": 132.94, "amount": 3.52, "unit": "\u00b5g" }, { "name": "Calcium", "percent_of_daily_needs": 3.19, "amount": 1.13, "unit": "mg" }, { "name": "Vitamin A", "percent_of_daily_needs": 0.83, "amount": 0, "unit": "IU" }, { "name": "Sugar", "percent_of_daily_needs": 6.06, "amount": 0.75, "unit": "g" }, { "name": "Fiber", "percent_of_daily_needs": 13.5, "amount": 0.38, "unit": "g" } ] }, { "name": "mushrooms", "amount": 0.08, "unit": "pound", "id": 11260, "nutrients": [ { "name": "Folic Acid", "percent_of_daily_needs": 0, "amount": 0, "unit": "\u00b5g" }, { "name": "Cholesterol", "percent_of_daily_needs": 24.63, "amount": 0, "unit": "mg" }, { "name": "Zinc", "percent_of_daily_needs": 14.79, "amount": 0.2, "unit": "mg" }, { "name": "Vitamin E", "percent_of_daily_needs": 3.56, "amount": 0, "unit": "mg" }, { "name": "Vitamin B6", "percent_of_daily_needs": 51.78, "amount": 0.04, "unit": "mg" }, { "name": "Vitamin B2", "percent_of_daily_needs": 31.47, "amount": 0.15, "unit": "mg" }, { "name": "Caffeine", "percent_of_daily_needs": 0, "amount": 0, "unit": "mg" }, { "name": "Potassium", "percent_of_daily_needs": 24.61, "amount": 120.2, "unit": "mg" }, { "name": "Vitamin B12", "percent_of_daily_needs": 4.53, "amount": 0.02, "unit": "\u00b5g" }, { "name": "Folate", "percent_of_daily_needs": 10.15, "amount": 6.43, "unit": "\u00b5g" }, { "name": "Saturated Fat", "percent_of_daily_needs": 6.83, "amount": 0.02, "unit": "g" }, { "name": "Net Carbohydrates", "percent_of_daily_needs": 22.48, "amount": 0.85, "unit": "g" }, { "name": "Phosphorus", "percent_of_daily_needs": 45.63, "amount": 32.51, "unit": "mg" }, { "name": "Manganese", "percent_of_daily_needs": 42.77, "amount": 0.02, "unit": "mg" }, { "name": "Vitamin D", "percent_of_daily_needs": 1.76, "amount": 0.08, "unit": "\u00b5g" }, { "name": "Fat", "percent_of_daily_needs": 9.05, "amount": 0.13, "unit": "g" }, { "name": "Alcohol", "percent_of_daily_needs": 0, "amount": 0, "unit": "g" }, { "name": "Vitamin B5", "percent_of_daily_needs": 31, "amount": 0.57, "unit": "mg" }, { "name": "Lycopene", "percent_of_daily_needs": 0, "amount": 0, "unit": "\u00b5g" }, { "name": "Vitamin K", "percent_of_daily_needs": 1.33, "amount": 0, "unit": "\u00b5g" }, { "name": "Protein", "percent_of_daily_needs": 74.6, "amount": 1.17, "unit": "g" }, { "name": "Vitamin B1", "percent_of_daily_needs": 17.28, "amount": 0.03, "unit": "mg" }, { "name": "Copper", "percent_of_daily_needs": 25.71, "amount": 0.12, "unit": "mg" }, { "name": "Carbohydrates", "percent_of_daily_needs": 21.73, "amount": 1.23, "unit": "g" }, { "name": "Sodium", "percent_of_daily_needs": 23.02, "amount": 1.89, "unit": "mg" }, { "name": "Poly Unsaturated Fat", "percent_of_daily_needs": 0, "amount": 0.06, "unit": "g" }, { "name": "Vitamin C", "percent_of_daily_needs": 3.74, "amount": 0.79, "unit": "mg" }, { "name": "Calories", "percent_of_daily_needs": 23.56, "amount": 8.32, "unit": "kcal" }, { "name": "Mono Unsaturated Fat", "percent_of_daily_needs": 0, "amount": 0, "unit": "g" }, { "name": "Choline", "percent_of_daily_needs": 0, "amount": 6.54, "unit": "mg" }, { "name": "Vitamin B3", "percent_of_daily_needs": 81.42, "amount": 1.36, "unit": "mg" }, { "name": "Iron", "percent_of_daily_needs": 12.21, "amount": 0.19, "unit": "mg" }, { "name": "Magnesium", "percent_of_daily_needs": 19.97, "amount": 3.4, "unit": "mg" }, { "name": "Selenium", "percent_of_daily_needs": 132.94, "amount": 3.52, "unit": "\u00b5g" }, { "name": "Calcium", "percent_of_daily_needs": 3.19, "amount": 1.13, "unit": "mg" }, { "name": "Vitamin A", "percent_of_daily_needs": 0.83, "amount": 0, "unit": "IU" }, { "name": "Sugar", "percent_of_daily_needs": 6.06, "amount": 0.75, "unit": "g" }, { "name": "Fiber", "percent_of_daily_needs": 13.5, "amount": 0.38, "unit": "g" } ] }, { "name": "olive oil", "amount": 0.33, "unit": "teaspoons", "id": 4053, "nutrients": [ { "name": "Folic Acid", "percent_of_daily_needs": 0, "amount": 0, "unit": "\u00b5g" }, { "name": "Cholesterol", "percent_of_daily_needs": 24.63, "amount": 0, "unit": "mg" }, { "name": "Zinc", "percent_of_daily_needs": 14.79, "amount": 0, "unit": "mg" }, { "name": "Vitamin E", "percent_of_daily_needs": 3.56, "amount": 0.19, "unit": "mg" }, { "name": "Vitamin B6", "percent_of_daily_needs": 51.78, "amount": 0, "unit": "mg" }, { "name": "Vitamin B2", "percent_of_daily_needs": 31.47, "amount": 0, "unit": "mg" }, { "name": "Caffeine", "percent_of_daily_needs": 0, "amount": 0, "unit": "mg" }, { "name": "Potassium", "percent_of_daily_needs": 24.61, "amount": 0.01, "unit": "mg" }, { "name": "Vitamin B12", "percent_of_daily_needs": 4.53, "amount": 0, "unit": "\u00b5g" }, { "name": "Folate", "percent_of_daily_needs": 10.15, "amount": 0, "unit": "\u00b5g" }, { "name": "Saturated Fat", "percent_of_daily_needs": 6.83, "amount": 0.18, "unit": "g" }, { "name": "Net Carbohydrates", "percent_of_daily_needs": 22.48, "amount": 0, "unit": "g" }, { "name": "Phosphorus", "percent_of_daily_needs": 45.63, "amount": 0, "unit": "mg" }, { "name": "Manganese", "percent_of_daily_needs": 42.77, "amount": 0, "unit": "mg" }, { "name": "Vitamin D", "percent_of_daily_needs": 1.76, "amount": 0, "unit": "\u00b5g" }, { "name": "Fat", "percent_of_daily_needs": 9.05, "amount": 1.33, "unit": "g" }, { "name": "Alcohol", "percent_of_daily_needs": 0, "amount": 0, "unit": "g" }, { "name": "Vitamin B5", "percent_of_daily_needs": 31, "amount": 0, "unit": "mg" }, { "name": "Lycopene", "percent_of_daily_needs": 0, "amount": 0, "unit": "\u00b5g" }, { "name": "Vitamin K", "percent_of_daily_needs": 1.33, "amount": 0.8, "unit": "\u00b5g" }, { "name": "Protein", "percent_of_daily_needs": 74.6, "amount": 0, "unit": "g" }, { "name": "Vitamin B1", "percent_of_daily_needs": 17.28, "amount": 0, "unit": "mg" }, { "name": "Copper", "percent_of_daily_needs": 25.71, "amount": 0, "unit": "mg" }, { "name": "Carbohydrates", "percent_of_daily_needs": 21.73, "amount": 0, "unit": "g" }, { "name": "Sodium", "percent_of_daily_needs": 23.02, "amount": 0.03, "unit": "mg" }, { "name": "Poly Unsaturated Fat", "percent_of_daily_needs": 0, "amount": 0.14, "unit": "g" }, { "name": "Vitamin C", "percent_of_daily_needs": 3.74, "amount": 0, "unit": "mg" }, { "name": "Calories", "percent_of_daily_needs": 23.56, "amount": 11.79, "unit": "kcal" }, { "name": "Mono Unsaturated Fat", "percent_of_daily_needs": 0, "amount": 0.97, "unit": "g" }, { "name": "Choline", "percent_of_daily_needs": 0, "amount": 0, "unit": "mg" }, { "name": "Vitamin B3", "percent_of_daily_needs": 81.42, "amount": 0, "unit": "mg" }, { "name": "Iron", "percent_of_daily_needs": 12.21, "amount": 0.01, "unit": "mg" }, { "name": "Magnesium", "percent_of_daily_needs": 19.97, "amount": 0, "unit": "mg" }, { "name": "Selenium", "percent_of_daily_needs": 132.94, "amount": 0, "unit": "\u00b5g" }, { "name": "Calcium", "percent_of_daily_needs": 3.19, "amount": 0.01, "unit": "mg" }, { "name": "Vitamin A", "percent_of_daily_needs": 0.83, "amount": 0, "unit": "IU" }, { "name": "Sugar", "percent_of_daily_needs": 6.06, "amount": 0, "unit": "g" }, { "name": "Fiber", "percent_of_daily_needs": 13.5, "amount": 0, "unit": "g" } ] }, { "name": "pepper", "amount": 0.08, "unit": "teaspoon", "id": 1002030, "nutrients": [ { "name": "Folic Acid", "percent_of_daily_needs": 0, "amount": 0, "unit": "\u00b5g" }, { "name": "Cholesterol", "percent_of_daily_needs": 24.63, "amount": 0, "unit": "mg" }, { "name": "Zinc", "percent_of_daily_needs": 14.79, "amount": 0, "unit": "mg" }, { "name": "Fluoride", "percent_of_daily_needs": 0, "amount": 0.06, "unit": "mg" }, { "name": "Vitamin E", "percent_of_daily_needs": 3.56, "amount": 0, "unit": "mg" }, { "name": "Vitamin B6", "percent_of_daily_needs": 51.78, "amount": 0, "unit": "mg" }, { "name": "Vitamin B2", "percent_of_daily_needs": 31.47, "amount": 0, "unit": "mg" }, { "name": "Caffeine", "percent_of_daily_needs": 0, "amount": 0, "unit": "mg" }, { "name": "Potassium", "percent_of_daily_needs": 24.61, "amount": 2.21, "unit": "mg" }, { "name": "Vitamin B12", "percent_of_daily_needs": 4.53, "amount": 0, "unit": "\u00b5g" }, { "name": "Folate", "percent_of_daily_needs": 10.15, "amount": 0.03, "unit": "\u00b5g" }, { "name": "Saturated Fat", "percent_of_daily_needs": 6.83, "amount": 0, "unit": "g" }, { "name": "Net Carbohydrates", "percent_of_daily_needs": 22.48, "amount": 0.06, "unit": "g" }, { "name": "Phosphorus", "percent_of_daily_needs": 45.63, "amount": 0.26, "unit": "mg" }, { "name": "Manganese", "percent_of_daily_needs": 42.77, "amount": 0.02, "unit": "mg" }, { "name": "Vitamin D", "percent_of_daily_needs": 1.76, "amount": 0, "unit": "\u00b5g" }, { "name": "Fat", "percent_of_daily_needs": 9.05, "amount": 0.01, "unit": "g" }, { "name": "Alcohol", "percent_of_daily_needs": 0, "amount": 0, "unit": "g" }, { "name": "Vitamin B5", "percent_of_daily_needs": 31, "amount": 0, "unit": "mg" }, { "name": "Lycopene", "percent_of_daily_needs": 0, "amount": 0.03, "unit": "\u00b5g" }, { "name": "Vitamin K", "percent_of_daily_needs": 1.33, "amount": 0.27, "unit": "\u00b5g" }, { "name": "Protein", "percent_of_daily_needs": 74.6, "amount": 0.02, "unit": "g" }, { "name": "Vitamin B1", "percent_of_daily_needs": 17.28, "amount": 0, "unit": "mg" }, { "name": "Copper", "percent_of_daily_needs": 25.71, "amount": 0, "unit": "mg" }, { "name": "Carbohydrates", "percent_of_daily_needs": 21.73, "amount": 0.11, "unit": "g" }, { "name": "Poly Unsaturated Fat", "percent_of_daily_needs": 0, "amount": 0, "unit": "g" }, { "name": "Sodium", "percent_of_daily_needs": 23.02, "amount": 0.03, "unit": "mg" }, { "name": "Trans Fat", "percent_of_daily_needs": 135.6, "amount": 0, "unit": "g" }, { "name": "Vitamin C", "percent_of_daily_needs": 3.74, "amount": 0, "unit": "mg" }, { "name": "Calories", "percent_of_daily_needs": 23.56, "amount": 0.42, "unit": "kcal" }, { "name": "Mono Unsaturated Fat", "percent_of_daily_needs": 0, "amount": 0, "unit": "g" }, { "name": "Choline", "percent_of_daily_needs": 0, "amount": 0.02, "unit": "mg" }, { "name": "Vitamin B3", "percent_of_daily_needs": 81.42, "amount": 0, "unit": "mg" }, { "name": "Iron", "percent_of_daily_needs": 12.21, "amount": 0.02, "unit": "mg" }, { "name": "Magnesium", "percent_of_daily_needs": 19.97, "amount": 0.28, "unit": "mg" }, { "name": "Selenium", "percent_of_daily_needs": 132.94, "amount": 0.01, "unit": "\u00b5g" }, { "name": "Calcium", "percent_of_daily_needs": 3.19, "amount": 0.74, "unit": "mg" }, { "name": "Vitamin A", "percent_of_daily_needs": 0.83, "amount": 0.91, "unit": "IU" }, { "name": "Sugar", "percent_of_daily_needs": 6.06, "amount": 0, "unit": "g" }, { "name": "Fiber", "percent_of_daily_needs": 13.5, "amount": 0.04, "unit": "g" } ] }, { "name": "salt", "amount": 0.04, "unit": "teaspoon", "id": 2047, "nutrients": [ { "name": "Folic Acid", "percent_of_daily_needs": 0, "amount": 0, "unit": "\u00b5g" }, { "name": "Cholesterol", "percent_of_daily_needs": 24.63, "amount": 0, "unit": "mg" }, { "name": "Zinc", "percent_of_daily_needs": 14.79, "amount": 0, "unit": "mg" }, { "name": "Fluoride", "percent_of_daily_needs": 0, "amount": 0, "unit": "mg" }, { "name": "Vitamin E", "percent_of_daily_needs": 3.56, "amount": 0, "unit": "mg" }, { "name": "Vitamin B6", "percent_of_daily_needs": 51.78, "amount": 0, "unit": "mg" }, { "name": "Vitamin B2", "percent_of_daily_needs": 31.47, "amount": 0, "unit": "mg" }, { "name": "Caffeine", "percent_of_daily_needs": 0, "amount": 0, "unit": "mg" }, { "name": "Potassium", "percent_of_daily_needs": 24.61, "amount": 0.02, "unit": "mg" }, { "name": "Vitamin B12", "percent_of_daily_needs": 4.53, "amount": 0, "unit": "\u00b5g" }, { "name": "Folate", "percent_of_daily_needs": 10.15, "amount": 0, "unit": "\u00b5g" }, { "name": "Saturated Fat", "percent_of_daily_needs": 6.83, "amount": 0, "unit": "g" }, { "name": "Net Carbohydrates", "percent_of_daily_needs": 22.48, "amount": 0, "unit": "g" }, { "name": "Phosphorus", "percent_of_daily_needs": 45.63, "amount": 0, "unit": "mg" }, { "name": "Manganese", "percent_of_daily_needs": 42.77, "amount": 0, "unit": "mg" }, { "name": "Vitamin D", "percent_of_daily_needs": 1.76, "amount": 0, "unit": "\u00b5g" }, { "name": "Fat", "percent_of_daily_needs": 9.05, "amount": 0, "unit": "g" }, { "name": "Alcohol", "percent_of_daily_needs": 0, "amount": 0, "unit": "g" }, { "name": "Vitamin B5", "percent_of_daily_needs": 31, "amount": 0, "unit": "mg" }, { "name": "Lycopene", "percent_of_daily_needs": 0, "amount": 0, "unit": "\u00b5g" }, { "name": "Vitamin K", "percent_of_daily_needs": 1.33, "amount": 0, "unit": "\u00b5g" }, { "name": "Protein", "percent_of_daily_needs": 74.6, "amount": 0, "unit": "g" }, { "name": "Vitamin B1", "percent_of_daily_needs": 17.28, "amount": 0, "unit": "mg" }, { "name": "Copper", "percent_of_daily_needs": 25.71, "amount": 0, "unit": "mg" }, { "name": "Carbohydrates", "percent_of_daily_needs": 21.73, "amount": 0, "unit": "g" }, { "name": "Sodium", "percent_of_daily_needs": 23.02, "amount": 96.89, "unit": "mg" }, { "name": "Poly Unsaturated Fat", "percent_of_daily_needs": 0, "amount": 0, "unit": "g" }, { "name": "Vitamin C", "percent_of_daily_needs": 3.74, "amount": 0, "unit": "mg" }, { "name": "Calories", "percent_of_daily_needs": 23.56, "amount": 0, "unit": "kcal" }, { "name": "Mono Unsaturated Fat", "percent_of_daily_needs": 0, "amount": 0, "unit": "g" }, { "name": "Choline", "percent_of_daily_needs": 0, "amount": 0, "unit": "mg" }, { "name": "Vitamin B3", "percent_of_daily_needs": 81.42, "amount": 0, "unit": "mg" }, { "name": "Iron", "percent_of_daily_needs": 12.21, "amount": 0, "unit": "mg" }, { "name": "Magnesium", "percent_of_daily_needs": 19.97, "amount": 0, "unit": "mg" }, { "name": "Selenium", "percent_of_daily_needs": 132.94, "amount": 0, "unit": "\u00b5g" }, { "name": "Calcium", "percent_of_daily_needs": 3.19, "amount": 0.06, "unit": "mg" }, { "name": "Vitamin A", "percent_of_daily_needs": 0.83, "amount": 0, "unit": "IU" }, { "name": "Sugar", "percent_of_daily_needs": 6.06, "amount": 0, "unit": "g" }, { "name": "Fiber", "percent_of_daily_needs": 13.5, "amount": 0, "unit": "g" } ] }, { "name": "thyme", "amount": 0.04, "unit": "teaspoon", "id": 2049, "nutrients": [ { "name": "Folic Acid", "percent_of_daily_needs": 0, "amount": 0, "unit": "\u00b5g" }, { "name": "Cholesterol", "percent_of_daily_needs": 24.63, "amount": 0, "unit": "mg" }, { "name": "Zinc", "percent_of_daily_needs": 14.79, "amount": 0, "unit": "mg" }, { "name": "Vitamin B2", "percent_of_daily_needs": 31.47, "amount": 0, "unit": "mg" }, { "name": "Vitamin B6", "percent_of_daily_needs": 51.78, "amount": 0, "unit": "mg" }, { "name": "Potassium", "percent_of_daily_needs": 24.61, "amount": 0.51, "unit": "mg" }, { "name": "Folate", "percent_of_daily_needs": 10.15, "amount": 0.04, "unit": "\u00b5g" }, { "name": "Vitamin B12", "percent_of_daily_needs": 4.53, "amount": 0, "unit": "\u00b5g" }, { "name": "Saturated Fat", "percent_of_daily_needs": 6.83, "amount": 0, "unit": "g" }, { "name": "Net Carbohydrates", "percent_of_daily_needs": 22.48, "amount": 0.01, "unit": "g" }, { "name": "Phosphorus", "percent_of_daily_needs": 45.63, "amount": 0.09, "unit": "mg" }, { "name": "Manganese", "percent_of_daily_needs": 42.77, "amount": 0, "unit": "mg" }, { "name": "Vitamin D", "percent_of_daily_needs": 1.76, "amount": 0, "unit": "\u00b5g" }, { "name": "Fat", "percent_of_daily_needs": 9.05, "amount": 0, "unit": "g" }, { "name": "Vitamin B5", "percent_of_daily_needs": 31, "amount": 0, "unit": "mg" }, { "name": "Protein", "percent_of_daily_needs": 74.6, "amount": 0, "unit": "g" }, { "name": "Vitamin B1", "percent_of_daily_needs": 17.28, "amount": 0, "unit": "mg" }, { "name": "Copper", "percent_of_daily_needs": 25.71, "amount": 0, "unit": "mg" }, { "name": "Carbohydrates", "percent_of_daily_needs": 21.73, "amount": 0.02, "unit": "g" }, { "name": "Sodium", "percent_of_daily_needs": 23.02, "amount": 0.01, "unit": "mg" }, { "name": "Poly Unsaturated Fat", "percent_of_daily_needs": 0, "amount": 0, "unit": "g" }, { "name": "Vitamin C", "percent_of_daily_needs": 3.74, "amount": 0.13, "unit": "mg" }, { "name": "Calories", "percent_of_daily_needs": 23.56, "amount": 0.08, "unit": "kcal" }, { "name": "Iron", "percent_of_daily_needs": 12.21, "amount": 0.01, "unit": "mg" }, { "name": "Vitamin B3", "percent_of_daily_needs": 81.42, "amount": 0, "unit": "mg" }, { "name": "Magnesium", "percent_of_daily_needs": 19.97, "amount": 0.13, "unit": "mg" }, { "name": "Mono Unsaturated Fat", "percent_of_daily_needs": 0, "amount": 0, "unit": "g" }, { "name": "Calcium", "percent_of_daily_needs": 3.19, "amount": 0.34, "unit": "mg" }, { "name": "Vitamin A", "percent_of_daily_needs": 0.83, "amount": 3.96, "unit": "IU" }, { "name": "Fiber", "percent_of_daily_needs": 13.5, "amount": 0.01, "unit": "g" } ] } ], "properties": [ { "name": "Glycemic Index", "amount": 51.33, "unit": "" }, { "name": "Glycemic Load", "amount": 27.04, "unit": "" }, { "name": "Inflammation Score", "amount": -5, "unit": "" }, { "name": "Nutrition Score", "amount": 23.531739, "unit": "%" } ], "nutrients": [ { "name": "Calories", "percent_of_daily_needs": 23.56, "amount": 471.27, "unit": "kcal" }, { "name": "Fat", "percent_of_daily_needs": 9.05, "amount": 5.88, "unit": "g" }, { "name": "Saturated Fat", "percent_of_daily_needs": 6.83, "amount": 1.09, "unit": "g" }, { "name": "Carbohydrates", "percent_of_daily_needs": 21.73, "amount": 65.18, "unit": "g" }, { "name": "Net Carbohydrates", "percent_of_daily_needs": 22.48, "amount": 61.81, "unit": "g" }, { "name": "Sugar", "percent_of_daily_needs": 6.06, "amount": 5.46, "unit": "g" }, { "name": "Cholesterol", "percent_of_daily_needs": 24.63, "amount": 73.89, "unit": "mg" }, { "name": "Sodium", "percent_of_daily_needs": 23.02, "amount": 529.53, "unit": "mg" }, { "name": "Protein", "percent_of_daily_needs": 74.6, "amount": 37.3, "unit": "g" }, { "name": "Selenium", "percent_of_daily_needs": 132.94, "amount": 93.06, "unit": "\u00b5g" }, { "name": "Vitamin B3", "percent_of_daily_needs": 81.42, "amount": 16.28, "unit": "mg" }, { "name": "Vitamin B6", "percent_of_daily_needs": 51.78, "amount": 1.04, "unit": "mg" }, { "name": "Phosphorus", "percent_of_daily_needs": 45.63, "amount": 456.34, "unit": "mg" }, { "name": "Manganese", "percent_of_daily_needs": 42.77, "amount": 0.86, "unit": "mg" }, { "name": "Vitamin B2", "percent_of_daily_needs": 31.47, "amount": 0.54, "unit": "mg" }, { "name": "Vitamin B5", "percent_of_daily_needs": 31, "amount": 3.1, "unit": "mg" }, { "name": "Copper", "percent_of_daily_needs": 25.71, "amount": 0.51, "unit": "mg" }, { "name": "Potassium", "percent_of_daily_needs": 24.61, "amount": 861.51, "unit": "mg" }, { "name": "Magnesium", "percent_of_daily_needs": 19.97, "amount": 79.9, "unit": "mg" }, { "name": "Vitamin B1", "percent_of_daily_needs": 17.28, "amount": 0.26, "unit": "mg" }, { "name": "Zinc", "percent_of_daily_needs": 14.79, "amount": 2.22, "unit": "mg" }, { "name": "Fiber", "percent_of_daily_needs": 13.5, "amount": 3.37, "unit": "g" }, { "name": "Iron", "percent_of_daily_needs": 12.21, "amount": 2.2, "unit": "mg" }, { "name": "Folate", "percent_of_daily_needs": 10.15, "amount": 40.61, "unit": "\u00b5g" }, { "name": "Vitamin B12", "percent_of_daily_needs": 4.53, "amount": 0.27, "unit": "\u00b5g" }, { "name": "Vitamin C", "percent_of_daily_needs": 3.74, "amount": 3.08, "unit": "mg" }, { "name": "Vitamin E", "percent_of_daily_needs": 3.56, "amount": 0.53, "unit": "mg" }, { "name": "Calcium", "percent_of_daily_needs": 3.19, "amount": 31.87, "unit": "mg" }, { "name": "Vitamin D", "percent_of_daily_needs": 1.76, "amount": 0.26, "unit": "\u00b5g" }, { "name": "Vitamin K", "percent_of_daily_needs": 1.33, "amount": 1.39, "unit": "\u00b5g" } ] }, "taste": { "fattiness": 60.21, "spiciness": 0, "saltiness": 100, "bitterness": 29.55, "savoriness": 86.09, "sweetness": 22.37, "sourness": 23.37 }, "cuisines": [], "meal_types": [ "SIDE_DISH", "MAIN_DISH" ], "occasions": [], "ingredients": [ { "image": "https://img.spoonacular.com/ingredients_100x100/balsamic-vinegar.jpg", "name_clean": "balsamic vinegar", "amount": 0.25, "unit": "cup", "measures": { "metric": { "unit_short": "ml", "amount": 63.75, "unit_long": "milliliters" }, "us": { "unit_short": "cups", "amount": 0.25, "unit_long": "cups" } }, "original": "1/4 cup Balsamic Vinegar", "meta": [], "original_name": "Balsamic Vinegar", "name": "balsamic vinegar", "id": 2069, "aisle": "Oil, Vinegar, Salad Dressing", "consistency": "LIQUID" }, { "image": "https://img.spoonacular.com/ingredients_100x100/bay-leaves.jpg", "name_clean": "bay leaves", "amount": 1, "unit": "", "measures": { "metric": { "unit_short": "", "amount": 1, "unit_long": "" }, "us": { "unit_short": "", "amount": 1, "unit_long": "" } }, "original": "1 bay leaf", "meta": [], "original_name": "bay leaf", "name": "bay leaf", "id": 2004, "aisle": "Produce", "consistency": "SOLID" }, { "image": "https://img.spoonacular.com/ingredients_100x100/chicken-breasts.png", "name_clean": "chicken breast halves", "amount": 6, "unit": "", "measures": { "metric": { "unit_short": "", "amount": 6, "unit_long": "" }, "us": { "unit_short": "", "amount": 6, "unit_long": "" } }, "original": "6 Chicken Breast Halves, skinned & boned", "meta": [], "original_name": "Chicken Breast Halves, skinned & boned", "name": "chicken breast halves", "id": 1045062, "aisle": "Meat", "consistency": "SOLID" }, { "image": "https://img.spoonacular.com/ingredients_100x100/chicken-broth.png", "name_clean": "chicken broth", "amount": 2, "unit": "cups", "measures": { "metric": { "unit_short": "ml", "amount": 470, "unit_long": "milliliters" }, "us": { "unit_short": "cups", "amount": 2, "unit_long": "cups" } }, "original": "2 cups chicken broth", "meta": [], "original_name": "chicken broth", "name": "chicken broth", "id": 6194, "aisle": "Canned and Jarred", "consistency": "LIQUID" }, { "image": "https://img.spoonacular.com/ingredients_100x100/flour.png", "name_clean": "wheat flour", "amount": 0.25, "unit": "cup", "measures": { "metric": { "unit_short": "g", "amount": 31.25, "unit_long": "grams" }, "us": { "unit_short": "cups", "amount": 0.25, "unit_long": "cups" } }, "original": "1/4 cup flour", "meta": [], "original_name": "flour", "name": "flour", "id": 20081, "aisle": "Baking", "consistency": "SOLID" }, { "image": "https://img.spoonacular.com/ingredients_100x100/spaghetti.jpg", "name_clean": "linguine", "amount": 1, "unit": "pound", "measures": { "metric": { "unit_short": "g", "amount": 453.592, "unit_long": "grams" }, "us": { "unit_short": "lb", "amount": 1, "unit_long": "pound" } }, "original": "1 pound Linguini, uncooked", "meta": [ "uncooked" ], "original_name": "Linguini, uncooked", "name": "linguini", "id": 10720420, "aisle": "Pasta and Rice", "consistency": "SOLID" }, { "image": "https://img.spoonacular.com/ingredients_100x100/mushrooms.png", "name_clean": "fresh mushrooms", "amount": 0.5, "unit": "pound", "measures": { "metric": { "unit_short": "g", "amount": 226.796, "unit_long": "grams" }, "us": { "unit_short": "lb", "amount": 0.5, "unit_long": "pounds" } }, "original": "1/2 pound mushrooms, sliced", "meta": [ "sliced" ], "original_name": "mushrooms, sliced", "name": "mushrooms", "id": 11260, "aisle": "Produce", "consistency": "SOLID" }, { "image": "https://img.spoonacular.com/ingredients_100x100/mushrooms-white.jpg", "name_clean": "fresh mushrooms", "amount": 0.5, "unit": "pound", "measures": { "metric": { "unit_short": "g", "amount": 226.796, "unit_long": "grams" }, "us": { "unit_short": "lb", "amount": 0.5, "unit_long": "pounds" } }, "original": "1/2 pound mushrooms, sliced", "meta": [ "sliced" ], "original_name": "mushrooms, sliced", "name": "mushrooms", "id": 11260, "aisle": "Produce", "consistency": "SOLID" }, { "image": "https://img.spoonacular.com/ingredients_100x100/olive-oil.jpg", "name_clean": "olive oil", "amount": 2, "unit": "teaspoons", "measures": { "metric": { "unit_short": "tsps", "amount": 2, "unit_long": "teaspoons" }, "us": { "unit_short": "tsps", "amount": 2, "unit_long": "teaspoons" } }, "original": "2 teaspoons olive oil", "meta": [], "original_name": "olive oil", "name": "olive oil", "id": 4053, "aisle": "Oil, Vinegar, Salad Dressing", "consistency": "SOLID" }, { "image": "https://img.spoonacular.com/ingredients_100x100/pepper.jpg", "name_clean": "black pepper", "amount": 0.5, "unit": "teaspoon", "measures": { "metric": { "unit_short": "tsps", "amount": 0.5, "unit_long": "teaspoons" }, "us": { "unit_short": "tsps", "amount": 0.5, "unit_long": "teaspoons" } }, "original": "1/2 teaspoon pepper", "meta": [], "original_name": "pepper", "name": "pepper", "id": 1002030, "aisle": "Spices and Seasonings", "consistency": "SOLID" }, { "image": "https://img.spoonacular.com/ingredients_100x100/salt.jpg", "name_clean": "table salt", "amount": 0.25, "unit": "teaspoon", "measures": { "metric": { "unit_short": "tsps", "amount": 0.25, "unit_long": "teaspoons" }, "us": { "unit_short": "tsps", "amount": 0.25, "unit_long": "teaspoons" } }, "original": "1/4 teaspoon salt", "meta": [], "original_name": "salt", "name": "salt", "id": 2047, "aisle": "Spices and Seasonings", "consistency": "SOLID" }, { "image": "https://img.spoonacular.com/ingredients_100x100/thyme.jpg", "name_clean": "thyme", "amount": 0.25, "unit": "teaspoon", "measures": { "metric": { "unit_short": "tsps", "amount": 0.25, "unit_long": "teaspoons" }, "us": { "unit_short": "tsps", "amount": 0.25, "unit_long": "teaspoons" } }, "original": "1/4 teaspoon Thyme", "meta": [], "original_name": "Thyme", "name": "thyme", "id": 2049, "aisle": "Produce", "consistency": "SOLID" } ], "instructions": [ { "name": "", "steps": [ { "number": 1, "ingredients": [ { "name": "salt and pepper", "image": "https://img.spoonacular.com/ingredients_100x100/salt-and-pepper.jpg", "id": 1102047 }, { "name": "seasoned flour", "image": "https://img.spoonacular.com/ingredients_100x100/flour.png", "id": 98980 }, { "name": "chicken", "image": "https://img.spoonacular.com/ingredients_100x100/whole-chicken.jpg", "id": 1015006 }, { "name": "all purpose flour", "image": "https://img.spoonacular.com/ingredients_100x100/flour.png", "id": 20081 }, { "name": "shake", "image": "https://spoonacular.com/cdn/ingredients_100x100/", "id": 0 }, { "name": "water", "image": "https://spoonacular.com/cdn/ingredients_100x100/water.png", "id": 14412 } ], "equipment": [ { "name": "pot", "image": "https://spoonacular.com/cdn/ingredients_100x100/stock-pot.jpg", "id": 404752 } ], "step": "Bring 6 quarts of salted water to a rolling boil in a large pot. Season the flour with salt and pepper. Dredge the chicken in the seasoned flour.Shake off any excess." }, { "length": { "number": 3, "unit": "minutes" }, "number": 2, "ingredients": [ { "name": "chicken", "image": "https://spoonacular.com/cdn/ingredients_100x100/whole-chicken.jpg", "id": 1015006 }, { "name": "cooking oil", "image": "https://spoonacular.com/cdn/ingredients_100x100/vegetable-oil.jpg", "id": 4582 } ], "equipment": [ { "name": "frying pan", "image": "https://spoonacular.com/cdn/ingredients_100x100/pan.png", "id": 404645 } ], "step": "Heat the oil in a large, heavy non-stick skillet over high heat. Brown the chicken on one side (about 3 minutes)." }, { "length": { "number": 3, "unit": "minutes" }, "number": 3, "ingredients": [ { "name": "mushrooms", "image": "https://spoonacular.com/cdn/ingredients_100x100/mushrooms.png", "id": 11260 }, { "name": "chicken", "image": "https://spoonacular.com/cdn/ingredients_100x100/whole-chicken.jpg", "id": 1015006 }, { "name": "garlic", "image": "https://spoonacular.com/cdn/ingredients_100x100/garlic.png", "id": 11215 } ], "equipment": [ { "name": "frying pan", "image": "https://spoonacular.com/cdn/ingredients_100x100/pan.png", "id": 404645 } ], "step": "Add the garlic. Turn the chicken. Scatter the mushrooms over the chicken. Cook for 3 minutes, shaking the skillet to distribute the mushrooms." }, { "length": { "number": 10, "unit": "minutes" }, "number": 4, "ingredients": [ { "name": "bay leaves", "image": "https://spoonacular.com/cdn/ingredients_100x100/bay-leaves.jpg", "id": 2004 }, { "name": "chicken", "image": "https://spoonacular.com/cdn/ingredients_100x100/whole-chicken.jpg", "id": 1015006 }, { "name": "vinegar", "image": "https://spoonacular.com/cdn/ingredients_100x100/vinegar-(white).jpg", "id": 2053 }, { "name": "broth", "image": "https://spoonacular.com/cdn/ingredients_100x100/chicken-broth.png", "id": 1006615 }, { "name": "thyme", "image": "https://spoonacular.com/cdn/ingredients_100x100/thyme.jpg", "id": 2049 } ], "equipment": [ { "name": "frying pan", "image": "https://spoonacular.com/cdn/ingredients_100x100/pan.png", "id": 404645 } ], "step": "Add the vinegar, broth, bay leaves, and thyme. Cover the skillet lightly. Cook, over medium heat for 10 minutes, turning the chicken once. Uncover." }, { "length": { "number": 7, "unit": "minutes" }, "number": 5, "ingredients": [ { "name": "mushrooms", "image": "https://spoonacular.com/cdn/ingredients_100x100/mushrooms.png", "id": 11260 }, { "name": "chicken", "image": "https://spoonacular.com/cdn/ingredients_100x100/whole-chicken.jpg", "id": 1015006 }, { "name": "pasta", "image": "https://spoonacular.com/cdn/ingredients_100x100/fusilli.jpg", "id": 20420 }, { "name": "water", "image": "https://spoonacular.com/cdn/ingredients_100x100/water.png", "id": 14412 } ], "equipment": [ { "name": "aluminum foil", "image": "https://spoonacular.com/cdn/ingredients_100x100/aluminum-foil.png", "id": 404765 } ], "step": "Transfer the chicken to a warm plate. Cover with foil. Continue cooking the mushrooms for another 7 minutes. Cook the pasta, stirring frequently, in the boiling salted water until al dente." }, { "number": 6, "ingredients": [], "equipment": [], "step": "Drain." }, { "number": 7, "ingredients": [ { "name": "chicken pieces", "image": "https://spoonacular.com/cdn/ingredients_100x100/chicken-parts.jpg", "id": 1005006 }, { "name": "pasta", "image": "https://spoonacular.com/cdn/ingredients_100x100/fusilli.jpg", "id": 20420 } ], "equipment": [], "step": "Place on a warm serving plate. Arrange the chicken pieces over the pasta." }, { "number": 8, "ingredients": [ { "name": "bay leaves", "image": "https://spoonacular.com/cdn/ingredients_100x100/bay-leaves.jpg", "id": 2004 }, { "name": "sauce", "image": "https://spoonacular.com/cdn/ingredients_100x100/", "id": 0 } ], "equipment": [], "step": "Remove the bay leaf from the sauce." }, { "number": 9, "ingredients": [ { "name": "mushrooms", "image": "https://spoonacular.com/cdn/ingredients_100x100/mushrooms.png", "id": 11260 }, { "name": "chicken", "image": "https://spoonacular.com/cdn/ingredients_100x100/whole-chicken.jpg", "id": 1015006 }, { "name": "pasta", "image": "https://spoonacular.com/cdn/ingredients_100x100/fusilli.jpg", "id": 20420 }, { "name": "sauce", "image": "https://spoonacular.com/cdn/ingredients_100x100/", "id": 0 } ], "equipment": [], "step": "Pour the mushroom sauce over the chicken and pasta." }, { "number": 10, "ingredients": [], "equipment": [], "step": "Serve." } ] } ], "credits": { "license": "CC BY 3.0", "text": "Foodista.com \u2013 The Cooking Encyclopedia Everyone Can Edit", "source_name": "Foodista", "source_url": "http://www.foodista.com/recipe/6QZ47BPL/pasta-with-chicken-and-mushrooms" }, "scores": { "meta_score": 70.431755, "weight_watcher_smart_points": 11, "health_score": 22 } } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "id", "description": "The id of the recipe to retrieve.", "schema": { "format": "int32", "minimum": 0, "maximum": 1410065407, "type": "integer", "example": 74987 }, "required": true, "style": "form", "explode": false, "in": "query" }, { "name": "add-wine-pairing", "description": "Whether to pair a wine to the recipe.", "schema": { "type": "boolean", "example": true }, "required": false, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/retrieve-recipe-api/" }, "summary": "Retrieve Recipe Information", "tags": [ "Food" ], "description": "Get detailed recipe information such as dietary properties, macro and micro nutrients, used ingredients and their amounts, and more.", "operationId": "retrieveRecipeInformation", "deprecated": false } }, "/compute-nutrition": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "nutrients": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "nullable": true }, "percent_of_daily_needs": { "type": "number" }, "amount": { "type": "number" }, "unit": { "type": "string", "nullable": true } } } }, "properties": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "nullable": true }, "amount": { "type": "integer" }, "unit": { "type": "string", "nullable": true } } } }, "flavonoids": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "nullable": true }, "amount": { "type": "number" }, "unit": { "type": "string", "nullable": true } } } }, "ingredient_breakdown": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "nullable": true }, "amount": { "type": "integer" }, "unit": { "type": "string", "nullable": true }, "id": { "type": "integer" }, "nutrients": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "nullable": true }, "percent_of_daily_needs": { "type": "integer" }, "amount": { "type": "integer" }, "unit": { "type": "string", "nullable": true } } } } } } }, "caloric_breakdown": { "type": "object", "properties": { "percent_fat": { "type": "number" }, "percent_carbs": { "type": "number" }, "percent_protein": { "type": "number" } } }, "weight_per_serving": { "type": "object", "properties": { "amount": { "type": "integer" }, "unit": { "type": "string", "nullable": true } } } } }, "examples": { "Response": { "value": { "nutrients": [ { "name": "Calories", "percent_of_daily_needs": 18.35, "amount": 366.98, "unit": "kcal" }, { "name": "Fat", "percent_of_daily_needs": 48.18, "amount": 31.32, "unit": "g" }, { "name": "Saturated Fat", "percent_of_daily_needs": 122.54, "amount": 19.61, "unit": "g" }, { "name": "Carbohydrates", "percent_of_daily_needs": 7.08, "amount": 21.24, "unit": "g" }, { "name": "Net Carbohydrates", "percent_of_daily_needs": 6.63, "amount": 18.24, "unit": "g" }, { "name": "Sugar", "percent_of_daily_needs": 19.01, "amount": 17.11, "unit": "g" }, { "name": "Cholesterol", "percent_of_daily_needs": 28.49, "amount": 85.46, "unit": "mg" }, { "name": "Sodium", "percent_of_daily_needs": 11.24, "amount": 258.62, "unit": "mg" }, { "name": "Protein", "percent_of_daily_needs": 6.82, "amount": 3.41, "unit": "g" }, { "name": "Vitamin A", "percent_of_daily_needs": 21.6, "amount": 1079.93, "unit": "IU" }, { "name": "Calcium", "percent_of_daily_needs": 12.05, "amount": 120.51, "unit": "mg" }, { "name": "Fiber", "percent_of_daily_needs": 12, "amount": 3, "unit": "g" }, { "name": "Phosphorus", "percent_of_daily_needs": 10.8, "amount": 108.05, "unit": "mg" }, { "name": "Vitamin B2", "percent_of_daily_needs": 9.52, "amount": 0.16, "unit": "mg" }, { "name": "Vitamin B12", "percent_of_daily_needs": 8.65, "amount": 0.52, "unit": "\u00b5g" }, { "name": "Potassium", "percent_of_daily_needs": 7.71, "amount": 269.72, "unit": "mg" }, { "name": "Vitamin E", "percent_of_daily_needs": 7.2, "amount": 1.08, "unit": "mg" }, { "name": "Vitamin C", "percent_of_daily_needs": 6.97, "amount": 5.75, "unit": "mg" }, { "name": "Vitamin D", "percent_of_daily_needs": 6.24, "amount": 0.94, "unit": "\u00b5g" }, { "name": "Vitamin B6", "percent_of_daily_needs": 5.21, "amount": 0.1, "unit": "mg" }, { "name": "Vitamin K", "percent_of_daily_needs": 5.2, "amount": 5.46, "unit": "\u00b5g" }, { "name": "Vitamin B1", "percent_of_daily_needs": 4.71, "amount": 0.07, "unit": "mg" }, { "name": "Vitamin B5", "percent_of_daily_needs": 4.32, "amount": 0.43, "unit": "mg" }, { "name": "Magnesium", "percent_of_daily_needs": 4.29, "amount": 17.16, "unit": "mg" }, { "name": "Zinc", "percent_of_daily_needs": 2.87, "amount": 0.43, "unit": "mg" }, { "name": "Selenium", "percent_of_daily_needs": 2.81, "amount": 1.97, "unit": "\u00b5g" }, { "name": "Manganese", "percent_of_daily_needs": 2.36, "amount": 0.05, "unit": "mg" }, { "name": "Copper", "percent_of_daily_needs": 1.73, "amount": 0.03, "unit": "mg" }, { "name": "Folate", "percent_of_daily_needs": 1.2, "amount": 4.8, "unit": "\u00b5g" }, { "name": "Vitamin B3", "percent_of_daily_needs": 1.09, "amount": 0.22, "unit": "mg" } ], "properties": [ { "name": "Glycemic Index", "amount": 120, "unit": "" }, { "name": "Glycemic Load", "amount": 6.08, "unit": "" }, { "name": "Inflammation Score", "amount": 0, "unit": "" }, { "name": "Nutrition Score", "amount": 6.06087, "unit": "%" } ], "flavonoids": [ { "name": "Cyanidin", "amount": 1.96, "unit": "mg" }, { "name": "Petunidin", "amount": 0, "unit": "mg" }, { "name": "Delphinidin", "amount": 0, "unit": "mg" }, { "name": "Malvidin", "amount": 0, "unit": "mg" }, { "name": "Pelargonidin", "amount": 0, "unit": "mg" }, { "name": "Peonidin", "amount": 0.03, "unit": "mg" }, { "name": "Catechin", "amount": 1.63, "unit": "mg" }, { "name": "Epigallocatechin", "amount": 0.33, "unit": "mg" }, { "name": "Epicatechin", "amount": 9.41, "unit": "mg" }, { "name": "Epicatechin 3-gallate", "amount": 0.01, "unit": "mg" }, { "name": "Epigallocatechin 3-gallate", "amount": 0.24, "unit": "mg" }, { "name": "Theaflavin", "amount": 0, "unit": "" }, { "name": "Thearubigins", "amount": 0, "unit": "" }, { "name": "Eriodictyol", "amount": 0, "unit": "" }, { "name": "Hesperetin", "amount": 0, "unit": "mg" }, { "name": "Naringenin", "amount": 0, "unit": "mg" }, { "name": "Apigenin", "amount": 0, "unit": "mg" }, { "name": "Luteolin", "amount": 0.15, "unit": "mg" }, { "name": "Isorhamnetin", "amount": 0, "unit": "" }, { "name": "Kaempferol", "amount": 0.18, "unit": "mg" }, { "name": "Myricetin", "amount": 0, "unit": "mg" }, { "name": "Quercetin", "amount": 5.01, "unit": "mg" }, { "name": "Theaflavin-3,3'-digallate", "amount": 0, "unit": "" }, { "name": "Theaflavin-3'-gallate", "amount": 0, "unit": "" }, { "name": "Theaflavin-3-gallate", "amount": 0, "unit": "" }, { "name": "Gallocatechin", "amount": 0, "unit": "mg" } ], "ingredient_breakdown": [ { "name": "apples", "amount": 1, "unit": "cup", "id": 9003, "nutrients": [ { "name": "Folic Acid", "percent_of_daily_needs": 0, "amount": 0, "unit": "\u00b5g" }, { "name": "Cholesterol", "percent_of_daily_needs": 28.49, "amount": 0, "unit": "mg" }, { "name": "Zinc", "percent_of_daily_needs": 2.87, "amount": 0.05, "unit": "mg" }, { "name": "Fluoride", "percent_of_daily_needs": 0, "amount": 4.13, "unit": "mg" }, { "name": "Vitamin E", "percent_of_daily_needs": 7.2, "amount": 0.22, "unit": "mg" }, { "name": "Vitamin B6", "percent_of_daily_needs": 5.21, "amount": 0.05, "unit": "mg" }, { "name": "Vitamin B2", "percent_of_daily_needs": 9.52, "amount": 0.03, "unit": "mg" }, { "name": "Caffeine", "percent_of_daily_needs": 0, "amount": 0, "unit": "mg" }, { "name": "Potassium", "percent_of_daily_needs": 7.71, "amount": 133.75, "unit": "mg" }, { "name": "Vitamin B12", "percent_of_daily_needs": 8.65, "amount": 0, "unit": "\u00b5g" }, { "name": "Folate", "percent_of_daily_needs": 1.2, "amount": 3.75, "unit": "\u00b5g" }, { "name": "Saturated Fat", "percent_of_daily_needs": 122.54, "amount": 0.04, "unit": "g" }, { "name": "Net Carbohydrates", "percent_of_daily_needs": 6.63, "amount": 14.25, "unit": "g" }, { "name": "Phosphorus", "percent_of_daily_needs": 10.8, "amount": 13.75, "unit": "mg" }, { "name": "Manganese", "percent_of_daily_needs": 2.36, "amount": 0.04, "unit": "mg" }, { "name": "Vitamin D", "percent_of_daily_needs": 6.24, "amount": 0, "unit": "\u00b5g" }, { "name": "Fat", "percent_of_daily_needs": 48.18, "amount": 0.21, "unit": "g" }, { "name": "Alcohol", "percent_of_daily_needs": 0, "amount": 0, "unit": "g" }, { "name": "Vitamin B5", "percent_of_daily_needs": 4.32, "amount": 0.08, "unit": "mg" }, { "name": "Lycopene", "percent_of_daily_needs": 0, "amount": 0, "unit": "\u00b5g" }, { "name": "Vitamin K", "percent_of_daily_needs": 5.2, "amount": 2.75, "unit": "\u00b5g" }, { "name": "Protein", "percent_of_daily_needs": 6.82, "amount": 0.32, "unit": "g" }, { "name": "Vitamin B1", "percent_of_daily_needs": 4.71, "amount": 0.02, "unit": "mg" }, { "name": "Copper", "percent_of_daily_needs": 1.73, "amount": 0.03, "unit": "mg" }, { "name": "Carbohydrates", "percent_of_daily_needs": 7.08, "amount": 17.25, "unit": "g" }, { "name": "Sodium", "percent_of_daily_needs": 11.24, "amount": 1.25, "unit": "mg" }, { "name": "Poly Unsaturated Fat", "percent_of_daily_needs": 0, "amount": 0.06, "unit": "g" }, { "name": "Vitamin C", "percent_of_daily_needs": 6.97, "amount": 5.75, "unit": "mg" }, { "name": "Calories", "percent_of_daily_needs": 18.35, "amount": 65, "unit": "kcal" }, { "name": "Mono Unsaturated Fat", "percent_of_daily_needs": 0, "amount": 0.01, "unit": "g" }, { "name": "Choline", "percent_of_daily_needs": 0, "amount": 4.25, "unit": "mg" }, { "name": "Vitamin B3", "percent_of_daily_needs": 1.09, "amount": 0.11, "unit": "mg" }, { "name": "Iron", "percent_of_daily_needs": 0.87, "amount": 0.15, "unit": "mg" }, { "name": "Magnesium", "percent_of_daily_needs": 4.29, "amount": 6.25, "unit": "mg" }, { "name": "Selenium", "percent_of_daily_needs": 2.81, "amount": 0, "unit": "\u00b5g" }, { "name": "Calcium", "percent_of_daily_needs": 12.05, "amount": 7.5, "unit": "mg" }, { "name": "Vitamin A", "percent_of_daily_needs": 21.6, "amount": 67.5, "unit": "IU" }, { "name": "Sugar", "percent_of_daily_needs": 19.01, "amount": 13, "unit": "g" }, { "name": "Fiber", "percent_of_daily_needs": 12, "amount": 3, "unit": "g" } ] }, { "name": "milk", "amount": 3, "unit": "oz", "id": 1077, "nutrients": [ { "name": "Folic Acid", "percent_of_daily_needs": 0, "amount": 0, "unit": "\u00b5g" }, { "name": "Cholesterol", "percent_of_daily_needs": 28.49, "amount": 10.21, "unit": "mg" }, { "name": "Zinc", "percent_of_daily_needs": 2.87, "amount": 0.35, "unit": "mg" }, { "name": "Vitamin E", "percent_of_daily_needs": 7.2, "amount": 0.04, "unit": "mg" }, { "name": "Vitamin B6", "percent_of_daily_needs": 5.21, "amount": 0.05, "unit": "mg" }, { "name": "Vitamin B2", "percent_of_daily_needs": 9.52, "amount": 0.12, "unit": "mg" }, { "name": "Caffeine", "percent_of_daily_needs": 0, "amount": 0, "unit": "mg" }, { "name": "Potassium", "percent_of_daily_needs": 7.71, "amount": 127.57, "unit": "mg" }, { "name": "Vitamin B12", "percent_of_daily_needs": 8.65, "amount": 0.46, "unit": "\u00b5g" }, { "name": "Folate", "percent_of_daily_needs": 1.2, "amount": 0, "unit": "\u00b5g" }, { "name": "Saturated Fat", "percent_of_daily_needs": 122.54, "amount": 1.58, "unit": "g" }, { "name": "Net Carbohydrates", "percent_of_daily_needs": 6.63, "amount": 3.97, "unit": "g" }, { "name": "Phosphorus", "percent_of_daily_needs": 10.8, "amount": 85.9, "unit": "mg" }, { "name": "Manganese", "percent_of_daily_needs": 2.36, "amount": 0, "unit": "mg" }, { "name": "Vitamin D", "percent_of_daily_needs": 6.24, "amount": 0.94, "unit": "\u00b5g" }, { "name": "Fat", "percent_of_daily_needs": 48.18, "amount": 2.72, "unit": "g" }, { "name": "Alcohol", "percent_of_daily_needs": 0, "amount": 0, "unit": "g" }, { "name": "Vitamin B5", "percent_of_daily_needs": 4.32, "amount": 0.32, "unit": "mg" }, { "name": "Lycopene", "percent_of_daily_needs": 0, "amount": 0, "unit": "\u00b5g" }, { "name": "Vitamin K", "percent_of_daily_needs": 5.2, "amount": 0.26, "unit": "\u00b5g" }, { "name": "Protein", "percent_of_daily_needs": 6.82, "amount": 2.79, "unit": "g" }, { "name": "Vitamin B1", "percent_of_daily_needs": 4.71, "amount": 0.05, "unit": "mg" }, { "name": "Copper", "percent_of_daily_needs": 1.73, "amount": 0, "unit": "mg" }, { "name": "Carbohydrates", "percent_of_daily_needs": 7.08, "amount": 3.97, "unit": "g" }, { "name": "Sodium", "percent_of_daily_needs": 11.24, "amount": 32.32, "unit": "mg" }, { "name": "Poly Unsaturated Fat", "percent_of_daily_needs": 0, "amount": 0.09, "unit": "g" }, { "name": "Vitamin C", "percent_of_daily_needs": 6.97, "amount": 0, "unit": "mg" }, { "name": "Calories", "percent_of_daily_needs": 18.35, "amount": 51.03, "unit": "kcal" }, { "name": "Mono Unsaturated Fat", "percent_of_daily_needs": 0, "amount": 0.59, "unit": "g" }, { "name": "Choline", "percent_of_daily_needs": 0, "amount": 15.14, "unit": "mg" }, { "name": "Vitamin B3", "percent_of_daily_needs": 1.09, "amount": 0.09, "unit": "mg" }, { "name": "Iron", "percent_of_daily_needs": 0.87, "amount": 0, "unit": "mg" }, { "name": "Magnesium", "percent_of_daily_needs": 4.29, "amount": 10.21, "unit": "mg" }, { "name": "Selenium", "percent_of_daily_needs": 2.81, "amount": 1.62, "unit": "\u00b5g" }, { "name": "Calcium", "percent_of_daily_needs": 12.05, "amount": 104.61, "unit": "mg" }, { "name": "Vitamin A", "percent_of_daily_needs": 21.6, "amount": 137.78, "unit": "IU" }, { "name": "Sugar", "percent_of_daily_needs": 19.01, "amount": 4.09, "unit": "g" }, { "name": "Fiber", "percent_of_daily_needs": 12, "amount": 0, "unit": "g" } ] }, { "name": "butter", "amount": 35, "unit": "g", "id": 1001, "nutrients": [ { "name": "Folic Acid", "percent_of_daily_needs": 0, "amount": 0, "unit": "\u00b5g" }, { "name": "Cholesterol", "percent_of_daily_needs": 28.49, "amount": 75.25, "unit": "mg" }, { "name": "Zinc", "percent_of_daily_needs": 2.87, "amount": 0.03, "unit": "mg" }, { "name": "Fluoride", "percent_of_daily_needs": 0, "amount": 0.98, "unit": "mg" }, { "name": "Vitamin E", "percent_of_daily_needs": 7.2, "amount": 0.81, "unit": "mg" }, { "name": "Vitamin B6", "percent_of_daily_needs": 5.21, "amount": 0, "unit": "mg" }, { "name": "Vitamin B2", "percent_of_daily_needs": 9.52, "amount": 0.01, "unit": "mg" }, { "name": "Caffeine", "percent_of_daily_needs": 0, "amount": 0, "unit": "mg" }, { "name": "Potassium", "percent_of_daily_needs": 7.71, "amount": 8.4, "unit": "mg" }, { "name": "Vitamin B12", "percent_of_daily_needs": 8.65, "amount": 0.06, "unit": "\u00b5g" }, { "name": "Folate", "percent_of_daily_needs": 1.2, "amount": 1.05, "unit": "\u00b5g" }, { "name": "Saturated Fat", "percent_of_daily_needs": 122.54, "amount": 17.99, "unit": "g" }, { "name": "Net Carbohydrates", "percent_of_daily_needs": 6.63, "amount": 0.02, "unit": "g" }, { "name": "Phosphorus", "percent_of_daily_needs": 10.8, "amount": 8.4, "unit": "mg" }, { "name": "Manganese", "percent_of_daily_needs": 2.36, "amount": 0, "unit": "mg" }, { "name": "Vitamin D", "percent_of_daily_needs": 6.24, "amount": 0, "unit": "\u00b5g" }, { "name": "Fat", "percent_of_daily_needs": 48.18, "amount": 28.39, "unit": "g" }, { "name": "Alcohol", "percent_of_daily_needs": 0, "amount": 0, "unit": "g" }, { "name": "Vitamin B5", "percent_of_daily_needs": 4.32, "amount": 0.04, "unit": "mg" }, { "name": "Lycopene", "percent_of_daily_needs": 0, "amount": 0, "unit": "\u00b5g" }, { "name": "Vitamin K", "percent_of_daily_needs": 5.2, "amount": 2.45, "unit": "\u00b5g" }, { "name": "Protein", "percent_of_daily_needs": 6.82, "amount": 0.3, "unit": "g" }, { "name": "Vitamin B1", "percent_of_daily_needs": 4.71, "amount": 0, "unit": "mg" }, { "name": "Copper", "percent_of_daily_needs": 1.73, "amount": 0, "unit": "mg" }, { "name": "Carbohydrates", "percent_of_daily_needs": 7.08, "amount": 0.02, "unit": "g" }, { "name": "Poly Unsaturated Fat", "percent_of_daily_needs": 0, "amount": 1.06, "unit": "g" }, { "name": "Sodium", "percent_of_daily_needs": 11.24, "amount": 225.05, "unit": "mg" }, { "name": "Trans Fat", "percent_of_daily_needs": 11473, "amount": 1.15, "unit": "g" }, { "name": "Vitamin C", "percent_of_daily_needs": 6.97, "amount": 0, "unit": "mg" }, { "name": "Calories", "percent_of_daily_needs": 18.35, "amount": 250.95, "unit": "kcal" }, { "name": "Mono Unsaturated Fat", "percent_of_daily_needs": 0, "amount": 7.35, "unit": "g" }, { "name": "Choline", "percent_of_daily_needs": 0, "amount": 6.58, "unit": "mg" }, { "name": "Vitamin B3", "percent_of_daily_needs": 1.09, "amount": 0.01, "unit": "mg" }, { "name": "Iron", "percent_of_daily_needs": 0.87, "amount": 0.01, "unit": "mg" }, { "name": "Magnesium", "percent_of_daily_needs": 4.29, "amount": 0.7, "unit": "mg" }, { "name": "Selenium", "percent_of_daily_needs": 2.81, "amount": 0.35, "unit": "\u00b5g" }, { "name": "Calcium", "percent_of_daily_needs": 12.05, "amount": 8.4, "unit": "mg" }, { "name": "Vitamin A", "percent_of_daily_needs": 21.6, "amount": 874.65, "unit": "IU" }, { "name": "Sugar", "percent_of_daily_needs": 19.01, "amount": 0.02, "unit": "g" }, { "name": "Fiber", "percent_of_daily_needs": 12, "amount": 0, "unit": "g" } ] } ], "caloric_breakdown": { "percent_fat": 74.08, "percent_carbs": 22.33, "percent_protein": 3.59 }, "weight_per_serving": { "amount": 245, "unit": "g" } } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "ingredients", "description": "A comma-separated list of the ingredients of the recipe.", "schema": { "pattern": ".", "maxLength": 1000, "type": "string", "example": "1 cup apples,3oz milk,35g butter" }, "required": true, "style": "form", "explode": false, "in": "query" }, { "name": "servings", "description": "The number of servings the ingredients make. Nutrition is computed per serving.", "schema": { "format": "int32", "minimum": 1, "maximum": 999, "type": "integer", "example": 1 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "reduce-oils", "description": "If there is oil in the ingredients, e.g. 3 tablespoons olive oil but they are used for frying, not all of the oil is consumed and therefore should not be added to the computed nutrition. In this case set reduce-oils to true.", "schema": { "type": "boolean", "example": true }, "required": false, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/compute-nutrition-api/" }, "summary": "Compute Nutrition", "tags": [ "Food" ], "description": "Compute detailed nutritional information for a given recipe (list of ingredients). The API will return the nutritional information for each ingredient, as well as the total nutritional content for the entire recipe. Aside from macro and micro nutrients, the API also returns flavanoid information and food properties such as glycemic index, glycemic load, and inflammation score.", "operationId": "computeNutrition", "deprecated": false } }, "/search-restaurants": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "restaurants": { "type": "array", "items": { "type": "object", "properties": { "offers_third_party_delivery": { "type": "boolean" }, "address": { "type": "object", "properties": { "zipcode": { "type": "string", "nullable": true }, "country": { "type": "string", "nullable": true }, "city": { "type": "string", "nullable": true }, "latitude": { "type": "number" }, "lon": { "type": "number" }, "street_addr_2": { "type": "string", "nullable": true }, "state": { "type": "string", "nullable": true }, "street_addr": { "type": "string", "nullable": true }, "lat": { "type": "number" }, "longitude": { "type": "number" } } }, "supports_upc_codes": { "type": "boolean" }, "is_open": { "type": "boolean" }, "description": { "type": "string", "nullable": true }, "weighted_rating_value": { "type": "integer" }, "type": { "type": "string", "nullable": true }, "offers_first_party_delivery": { "type": "boolean" }, "aggregated_rating_count": { "type": "integer" }, "pickup_enabled": { "type": "boolean" }, "cuisines": { "type": "array", "items": { "type": "string", "nullable": true } }, "miles": { "type": "number" }, "dollar_signs": { "type": "integer" }, "delivery_enabled": { "type": "boolean" }, "name": { "type": "string", "nullable": true }, "phone_number": { "type": "number" }, "_id": { "type": "string", "nullable": true }, "local_hours": { "type": "object", "properties": { "operational": { "type": "object", "properties": { "sunday": { "type": "string", "nullable": true }, "saturday": { "type": "string", "nullable": true }, "tuesday": { "type": "string", "nullable": true }, "thursday": { "type": "string", "nullable": true }, "friday": { "type": "string", "nullable": true }, "wednesday": { "type": "string", "nullable": true }, "monday": { "type": "string", "nullable": true } } }, "delivery": { "type": "object", "properties": { "sunday": { "type": "string", "nullable": true }, "saturday": { "type": "string", "nullable": true }, "tuesday": { "type": "string", "nullable": true }, "thursday": { "type": "string", "nullable": true }, "friday": { "type": "string", "nullable": true }, "wednesday": { "type": "string", "nullable": true }, "monday": { "type": "string", "nullable": true } } }, "pickup": { "type": "object", "properties": { "sunday": { "type": "string", "nullable": true }, "saturday": { "type": "string", "nullable": true }, "tuesday": { "type": "string", "nullable": true }, "thursday": { "type": "string", "nullable": true }, "friday": { "type": "string", "nullable": true }, "wednesday": { "type": "string", "nullable": true }, "monday": { "type": "string", "nullable": true } } }, "dine_in": { "type": "object", "properties": { "sunday": { "type": "string", "nullable": true }, "saturday": { "type": "string", "nullable": true }, "tuesday": { "type": "string", "nullable": true }, "thursday": { "type": "string", "nullable": true }, "friday": { "type": "string", "nullable": true }, "wednesday": { "type": "string", "nullable": true }, "monday": { "type": "string", "nullable": true } } } } } } } } } }, "examples": { "Response": { "value": { "restaurants": [ { "offers_third_party_delivery": true, "address": { "zipcode": "93257", "country": "US", "city": "San Diego", "latitude": 32.715829, "lon": -117.160935, "street_addr_2": "", "state": "CA", "street_addr": "1023 4th AvE.", "lat": 32.71587, "longitude": -117.161098 }, "supports_upc_codes": false, "is_open": false, "description": "", "weighted_rating_value": 5, "type": "restaurant", "offers_first_party_delivery": false, "aggregated_rating_count": 16, "pickup_enabled": false, "cuisines": [ "Convenience", "Everyday Essentials", "Pharmacy", "Snacks" ], "miles": 0.006436, "dollar_signs": 1, "delivery_enabled": true, "name": "Cvs", "phone_number": 12345600000, "_id": "0bc7ce37-257a-441f-b748-56fb236da5db", "local_hours": { "operational": { "sunday": "07:00AM - 11:00PM", "saturday": "07:00AM - 11:00PM", "tuesday": "07:00AM - 11:00PM", "thursday": "07:00AM - 11:00PM", "friday": "07:00AM - 11:00PM", "wednesday": "07:00AM - 11:00PM", "monday": "07:00AM - 11:00PM" }, "delivery": { "sunday": "07:00AM - 11:00PM", "saturday": "07:00AM - 11:00PM", "tuesday": "07:00AM - 11:00PM", "thursday": "07:00AM - 11:00PM", "friday": "07:00AM - 11:00PM", "wednesday": "07:00AM - 11:00PM", "monday": "07:00AM - 11:00PM" }, "pickup": { "sunday": "Closed", "saturday": "Closed", "tuesday": "Closed", "thursday": "Closed", "friday": "Closed", "wednesday": "Closed", "monday": "Closed" }, "dine_in": { "sunday": "07:00AM - 11:00PM", "saturday": "07:00AM - 11:00PM", "tuesday": "07:00AM - 11:00PM", "thursday": "07:00AM - 11:00PM", "friday": "07:00AM - 11:00PM", "wednesday": "07:00AM - 11:00PM", "monday": "07:00AM - 11:00PM" } } } ] } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "query", "description": "The search query.", "schema": { "pattern": ".", "maxLength": 300, "type": "string", "example": "burger" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "lat", "description": "The latitude to search around.", "schema": { "format": "double", "minimum": -999, "maximum": 999, "type": "number", "example": 32.715736 }, "required": true, "style": "form", "explode": false, "in": "query" }, { "name": "lon", "description": "The longitude to search around.", "schema": { "format": "double", "minimum": -999, "maximum": 999, "type": "number", "example": -117.161087 }, "required": true, "style": "form", "explode": false, "in": "query" }, { "name": "distance", "description": "The maximum distance of the restaurant in miles around the given location.", "schema": { "format": "int32", "minimum": 0, "maximum": 10000, "type": "integer", "example": 5 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "budget", "description": "The budget in USD for the meal.", "schema": { "format": "double", "minimum": 0, "maximum": 9999, "type": "number", "example": 25 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "min-rating", "description": "The minimum rating of the restaurants in range [0,5].", "schema": { "format": "double", "minimum": 0, "maximum": 5, "type": "number", "example": 4.4 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "cuisine", "description": "The cuisine that the restaurants should support.", "schema": { "pattern": ".", "maxLength": 300, "type": "string", "example": "Mexican" }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "is-open", "description": "Whether the restaurants have to be open now.", "schema": { "type": "boolean", "example": true }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "page", "description": "The page of the results.", "schema": { "format": "int32", "minimum": 0, "maximum": 9999, "type": "integer", "example": 0 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "sort", "description": "The sort parameter, one of: cheapest, fastest, rating, distance or relevance.", "schema": { "pattern": ".", "maxLength": 30, "type": "string", "example": "rating" }, "required": false, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/search-restaurants-api/" }, "summary": "Search Restaurants", "tags": [ "Food" ], "description": "Search through thousands of restaurants (in North America) by location, cuisine, budget, and more.", "operationId": "searchRestaurants", "deprecated": false } }, "/retrieve-random-trivia": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "trivia": { "type": "string", "nullable": true } } }, "examples": { "Response": { "value": { "trivia": "Koalas sleep up to 20 hours a day." } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "max-length", "description": "The maximum length of the trivia in letters.", "schema": { "format": "int32", "minimum": 0, "maximum": 10000, "type": "integer", "example": 300 }, "required": false, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/random-trivia-api/" }, "summary": "Random Trivia", "tags": [ "Knowledge" ], "description": "This endpoint returns a random piece of trivia.", "operationId": "randomTrivia", "deprecated": false } }, "/retrieve-random-quote": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "author": { "type": "string", "nullable": true }, "quote": { "type": "string", "nullable": true } } }, "examples": { "Response": { "value": { "author": "Francis Bacon", "quote": "A little philosophy inclineth man's mind to atheism, but depth in philosophy bringeth men's minds about to religion." } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "min-length", "description": "The minimum length of the quote in letters.", "schema": { "format": "int32", "minimum": 1, "maximum": 10000, "type": "integer", "example": 120 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-length", "description": "The maximum length of the quote in letters.", "schema": { "format": "int32", "minimum": 1, "maximum": 10000, "type": "integer", "example": 300 }, "required": false, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/random-quote-api/" }, "summary": "Random Quote", "tags": [ "Knowledge" ], "description": "This API returns a random quote from a collection of quotes. The quotes are from famous people and are in English.", "operationId": "randomQuote", "deprecated": false } }, "/retrieve-random-riddle": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "riddle": { "type": "string", "nullable": true }, "answer": { "type": "string", "nullable": true }, "difficulty": { "type": "string", "nullable": true } } }, "examples": { "Response": { "value": { "riddle": "What has 13 hearts but no other organs?", "answer": "A deck of cards", "difficulty": "easy" } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "difficulty", "description": "The difficulty of the riddle, either \"easy\", \"medium\", or \"hard\".", "schema": { "pattern": ".", "maxLength": 6, "type": "string", "example": "easy" }, "required": false, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/random-riddle-api/" }, "summary": "Random Riddle", "tags": [ "Knowledge" ], "description": "The riddles API returns a random riddle or brain-teaser. Riddles are a great way to exercise your brain and keep it sharp. The API supports brain-teasers in three difficulty levels: easy, medium, and hard. You can also get a random riddle without specifying a difficulty level.", "operationId": "randomRiddle", "deprecated": false } }, "/retrieve-random-poem": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "title": { "type": "string", "nullable": true }, "author": { "type": "string", "nullable": true }, "poem": { "type": "string", "nullable": true } } }, "examples": { "Response": { "value": { "title": "Purpose", "author": "Amos Russel Wells", "poem": "Deeply and long the sap must flow\nEre the merest layer of elm can grow.\n\nMany a wave's recurrent shock\nIs needed to smooth the tiniest rock.\n\nThousands of leaves must fade and fall\nTo make the mold by the garden wall.\n\nThus, as the patient seasons roll,\nSlowly is fashioned a human soul.\n\nPurpose and failure and purpose still,\nSteadily moved by a quiet will,\u2014\n\nLayer on layer in sturdy way,\nHardly seen the growth of a day,\u2014\n\nTimes of failure and fear and fall,\nBut one strong tendency through it all,\u2014\n\nGod and purpose and sun by sun\nReach the stars before they are done!\nFor I know the plans I have for you,\u201d declares the Lord, \u201cplans to prosper you and not to harm you, plans to give you hope and a future" } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "min-lines", "description": "The minimum number of lines of the poem.", "schema": { "format": "int32", "minimum": 0, "maximum": 1000, "type": "integer", "example": 5 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "max-lines", "description": "The maximum number of lines of the poem.", "schema": { "format": "int32", "minimum": 0, "maximum": 1000, "type": "integer", "example": 20 }, "required": false, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/random-poem-api/" }, "summary": "Random Poem", "tags": [ "Art" ], "description": "Retrieve a random poem by many famous authors. You can filter poem's by length (number of lines).", "operationId": "randomPoem", "deprecated": false } }, "/convert-image-to-ascii-txt": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "text/plain": { "schema": { "type": "string" }, "examples": { "Response": { "value": ".................................................................................................\n.................................................................................................\n.................................................................................................\n.................................................................................................\n.................................................................................................\n.................................................................................................\n.................................................................................................\n..............................................,,,,,,,,...........................................\n...........................................:+?%%%%%%%%*;,........................................\n........................................,+%###S%????SS##S?;......................................\n.......................................*S@#*;;:,,,,,::;+%##%;....................................\n.....................................:%@S+:,............,;?##*,..................................\n...................................,+##*,.................,;%#%:.................................\n...................................*@S:.....................,*##;................................\n..................................*#%:........................;#S;...............................\n.................................*@%,..........................;#S:..............................\n................................;#S:............................+@?,.............................\n...............................,%#;..............................?#;.............................\n...............................+#+...............................,SS,............................\n..............................:S%,................................+@*............................\n..............................+#+.................................,S#:...........................\n.............................,?#:..................................*@*...........................\n.............................,S?...................................,@%...........................\n.............................:#+....................................%#,..........................\n.............................;#;....................................+#:..........................\n.............................*S,....................................:@+..........................\n.............................?S,....................................:@*..........................\n.............................*S,....................................:@+..........................\n.............................?S,....................................:@*..........................\n.............................*S,....................................:@+..........................\n.............................:#;....................................*#:..........................\n.............................:#*....................................SS,..........................\n.............................,%%,..................................,@%...........................\n..............................*#:..................................?@+...........................\n..............................;#*.................................:##,...........................\n..............................,%S,................................*@*............................\n...............................;#*...............................:S%,............................\n...............................,?#+.............................,%#:.............................\n................................:##;............................*@*..............................\n.................................+#S:..........................*#%,..............................\n..................................;#S:.......................,*@%:...............................\n...................................;SS+,....................:?#%:................................\n....................................:%@S+.................,*##*,.................................\n.....................................,+#@%;.............,*S@S;...................................\n.......................................:?#@S?+;:,,,,:;*%#@S+,....................................\n.........................................,+%#@@#####@@@#%;,......................................\n............................................:+*?S#@S?*;,.........................................\n................................................,%#:.............................................\n................................................,%#:.............................................\n................................................,%#:.............................................\n................................................,%#:.............................................\n................................................,%#:.............................................\n................................................,%#:.............................................\n................................................,%#:.............................................\n................................................,%#:.............................................\n................................................:S@?,............................................\n...............................................,?@@@+............................................\n...............................................*#@@@S:...........................................\n..............................................*@%%@@@?...........................................\n.............................................+@S;?S%@#;..........................................\n............................................+@#;,%S;%@S,.........................................\n...........................................:##;.,%#::#@*.........................................\n..........................................:##;..,%#:.*@#;........................................\n.........................................;##;...,%#:.,%@S,.......................................\n........................................:S#+....,%#:..:S@*.......................................\n.......................................,%#*.....,%#:...+@#;......................................\n......................................,%#*......,%#:...,%@S,.....................................\n.....................................:%@+.......,%#:....:S@*.....................................\n....................................,%@*........,%#:.....+@#;....................................\n...................................,*@?,........,%#:.....,?@%,...................................\n...................................*#?,.........,%#:......:%#+...................................\n..................................*@?,..........,%#:.......;#S:..................................\n................................,*@%,...........,%#:.......,*@?..................................\n................................+@#;............,%#:........:S@+.................................\n...............................;##;.............,%#:.........+#S:................................\n..............................;S#;..............,%#:.........,?@*,...............................\n.............................:S#;...............,%#:..........,%#;...............................\n............................:#@*................,%#:...........:#%:..............................\n...........................:#@*.................,%#:............*@*..............................\n..........................,%@?..................,%#:............,SS:.............................\n.........................,%@?...................,%#:.............;#?,............................\n........................:%@?....................,%#:..............?@*............................\n.......................:%@%,....................,%#:..............,##;...........................\n......................,%@%,.....................,%#:...............;#S,..........................\n......................*@S:......................,%#:................+@?..........................\n....................,*@S:.......................,%#:.................?#;.........................\n...................,*@S:........................,%#:.................:SS,........................\n...................*@%:.........................,%#:..................+@?........................\n..................+@%,..........................,%#:..................,%#;.......................\n.................;#S:...........................,%#:...................:#S:......................\n................:##;............................,%#:....................+@?,.....................\n...............:S#;.............................,%#:....................,?#+.....................\n..............;##;..............................,%#:.....................:SS:....................\n.............:S#;...............................,%#:......................+#?,...................\n............,%@+................................,%#:......................,?#+...................\n...........,%@*.................................,%#:.......................:SS:..................\n...........?@*..................................,%#:........................+#*..................\n...........+*...................................,%#:........................,*;..................\n................................................,%#:.............................................\n................................................,%#:.............................................\n................................................,%#:.............................................\n................................................,%#:.............................................\n................................................,%#:.............................................\n................................................,%#:.............................................\n................................................,%#:.............................................\n................................................,%#:.............................................\n................................................,%#:.............................................\n................................................,%#:.............................................\n................................................,%#:.............................................\n................................................,%#:.............................................\n................................................,%#:.............................................\n................................................,%#:.............................................\n................................................,%#:.............................................\n................................................,%#:.............................................\n................................................,%#:.............................................\n................................................,%#:.............................................\n................................................,%#:.............................................\n................................................,%#:.............................................\n................................................,%#:.............................................\n................................................,%#:.............................................\n................................................,%#:.............................................\n................................................,%#:.............................................\n................................................,%#:.............................................\n................................................,%#:.............................................\n................................................,%#:.............................................\n................................................,%#:.............................................\n................................................+#@+.............................................\n...............................................;SS##;............................................\n..............................................+#%;+#S;...........................................\n.............................................+#S;..?@S:..........................................\n............................................;#S;...,%@%,.........................................\n..........................................,*#S:.....,%@?.........................................\n.........................................,?@S:.......:S@*........................................\n.........................................?@S:.........:S@+.......................................\n........................................?@S:...........:##;......................................\n.......................................?@S:.............+@#;.....................................\n......................................?@S:...............+@S:....................................\n....................................,?@S;.................*@%,...................................\n...................................,*@S:...................*@*,..................................\n..................................,?#%:....................,?#*..................................\n.................................:%@?,......................,%#+.................................\n................................:%@?,........................:S#;................................\n...............................:%@?,..........................;##;...............................\n..............................:%@?,............................+#S:..............................\n.............................,%@?,..............................+#%..............................\n............................,S@?,...............................,?@?.............................\n...........................,S@%,.................................,%@;............................\n..........................:S@*,...................................:S@;...........................\n.........................;S#+......................................;S#:..........................\n........................+#S;........................................:#S:.........................\n.......................;##:..........................................;@%,........................\n......................;##;............................................+@*........................\n.....................;##:.............................................,%@*.......................\n....................;##;...............................................,%#+......................\n...................;#S;.................................................,S#;.....................\n..................;S#;...................................................:#S:....................\n.................+S#;.....................................................+#%:...................\n...............,*#S;.......................................................+#?,..................\n..............,*#%,.........................................................*#?,.................\n.............,*@%,..........................................................,?@*.................\n.............;@?,............................................................:%#:................\n.............:*,..............................................................:+,................\n.................................................................................................\n.................................................................................................\n.................................................................................................\n.................................................................................................\n.................................................................................................\n.................................................................................................\n.................................................................................................\n.................................................................................................\n.................................................................................................\n.................................................................................................\n.................................................................................................\n.................................................................................................\n.................................................................................................\n.................................................................................................\n.................................................................................................\n.................................................................................................\n.................................................................................................\n................................................................................................." } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "url", "description": "The URL to the image.", "schema": { "pattern": ".", "maxLength": 1000, "type": "string", "example": "https://upload.wikimedia.org/wikipedia/commons/3/35/Basic_human_drawing.png" }, "required": true, "style": "form", "explode": false, "in": "query" }, { "name": "width", "description": "The maximum width of the image (default 400, max. 500).", "schema": { "format": "int32", "minimum": 1, "maximum": 500, "type": "integer", "example": 200 }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "height", "description": "The maximum height of the image (default 400, max. 500).", "schema": { "format": "int32", "minimum": 1, "maximum": 500, "type": "integer", "example": 200 }, "required": false, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/image-to-ascii-art-api/" }, "summary": "Image to Ascii Art by URL", "tags": [ "Art" ], "description": "Convert an image to ASCII art. You can pass the image URL as a query parameter. The API returns the ASCII art as plain text. This endpoint is using the GET method and an image URL as a query parameter.", "operationId": "imageToAsciiArtByURL", "deprecated": false } }, "/extract-content": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "title": { "type": "string", "nullable": true }, "main_text": { "type": "string", "nullable": true }, "main_html": { "type": "string", "nullable": true }, "images": { "type": "array", "items": { "type": "string", "nullable": true } } } }, "examples": { "Response": { "value": { "title": "Happy-Go-Lucky Australia Is Feeling Neither Happy, Nor Lucky", "main_text": "For nearly three decades, Australia seemed to have a sort of get-out-of-jail card that allowed it to glide through [...]", "main_html": "
[...]
", "images": [ "https://static01.nyt.com/images/2024/03/19/multimedia/00oz-misery-kbjt/00oz-misery-kbjt-superJumbo.jpg?quality=75&auto=webp" ] } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "url", "description": "The url for which the content will be extracted.", "schema": { "pattern": ".", "maxLength": 1000, "type": "string", "example": "https://www.nytimes.com/2024/03/27/world/australia/economy-cost-of-living.html" }, "required": true, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/extract-web-content-api/" }, "summary": "Extract Content from a Web Page", "tags": [ "Web" ], "description": "Extract the main content from a web page. This API is useful for extracting the main text, title, and images from a web page. It can be used to create a summary of the content of a web page, or to extract the main content of a web page to display it in a different format.", "operationId": "extractContentFromAWebPage", "deprecated": false } }, "/extract-publish-date": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "publish_date": { "type": "string", "nullable": true } } }, "examples": { "Response": { "value": { "publish_date": "2023-03-27" } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "url", "description": "The url for which the publish date should be extracted.", "schema": { "pattern": ".", "maxLength": 1000, "type": "string", "example": "https://www.nytimes.com/2024/03/27/world/australia/economy-cost-of-living.html" }, "required": true, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/extract-publish-date-api/" }, "summary": "Extract Publish Date", "tags": [ "Web" ], "description": "Extract the publish date of an article (news or blog). The API will return the publish date of the article if it can be found. The date returned is in the format YYYY-MM-DD.", "operationId": "extractPublishDate", "deprecated": false } }, "/extract-authors": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "authors": { "type": "array", "items": { "type": "object", "properties": { "link": { "type": "string", "nullable": true }, "name": { "type": "string", "nullable": true } } } } } }, "examples": { "Response": { "value": { "authors": [ { "link": "https://www.nytimes.com/by/natasha-frost", "name": "Natasha Frost" } ] } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "url", "description": "The url with the article from which authors should be extracted.", "schema": { "pattern": ".", "maxLength": 1000, "type": "string", "example": "https://www.nytimes.com/2024/03/27/world/australia/economy-cost-of-living.html" }, "required": true, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/extract-authors-api/" }, "summary": "Extract Authors", "tags": [ "Web" ], "description": "Extracts the authors from a given URL. This API is useful for extracting the authors from a blog post or news article. The API will return a list of authors with their names and links to their profiles if available.", "operationId": "extractAuthors", "deprecated": false } }, "/search-web": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "results": { "type": "array", "items": { "type": "object", "properties": { "title": { "type": "string", "nullable": true }, "summary": { "type": "string", "nullable": true }, "url": { "type": "string", "nullable": true } } } } } }, "examples": { "Response": { "value": { "results": [ { "title": "Penguin - Wikipedia", "summary": "Penguins are a group of aquatic flightless birds from the family Spheniscidae (/ s f \u026a \u02c8 n \u026a s \u026a d i\u02d0,-d a\u026a /) of the order Sphenisciformes (/ s f \u026a \u02c8 n \u026a s \u0259 f \u0254\u02d0r m i\u02d0 z /). They live almost exclusively in the Southern Hemisphere: only one species, the Gal\u00e1pagos penguin, is found north of the Equator.Highly adapted for life in the ocean water, penguins have countershaded dark ...", "url": "https://en.wikipedia.org/wiki/Penguin" }, { "title": "Penguin | Features, Habitat, & Facts | Britannica", "summary": "Learn about penguins, the flightless marine birds that live only in the Southern Hemisphere. Find out their general features, habitat, and facts, such as their distribution, diet, behavior, and conservation status. See images and videos of different species of penguins, such as the emperor, the fairy, and the Galapagos penguin.", "url": "https://www.britannica.com/animal/penguin" }, { "title": "Penguins, facts and photos - National Geographic", "summary": "Learn about the 18 different species of penguins, their adaptations, behavior, and threats. Find out how they live, breed, and feed in the Antarctic and subantarctic regions, and how they cope with the challenges of climate change and predators.", "url": "https://www.nationalgeographic.com/animals/birds/facts/penguins-1" }, { "title": "Official Pittsburgh Penguins Website | Pittsburgh Penguins - NHL.com", "summary": "The official website of the Pittsburgh Penguins, a professional ice hockey team in the National Hockey League. Find news, tickets, schedule, photos, video, scores, stats, community, and more about the team and its players.", "url": "https://www.nhl.com/penguins/" }, { "title": "Penguin | Species | WWF - World Wildlife Fund", "summary": "Learn about the 17 to 19 species of penguins that live in the Southern Hemisphere, from the tiny blue penguins of Australia and New Zealand to the majestic emperor penguins of Antarctica. Find out why they matter, what threats they face, and how you can help protect them.", "url": "https://www.worldwildlife.org/species/penguin" } ] } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "query", "description": "The search query.", "schema": { "pattern": ".", "maxLength": 300, "type": "string", "example": "penguins" }, "required": true, "style": "form", "explode": false, "in": "query" }, { "name": "number", "description": "The number of results to return in range [1,50]", "schema": { "format": "int32", "minimum": 1, "maximum": 50, "type": "integer", "example": 5 }, "required": false, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/web-search-api/" }, "summary": "Search Web", "tags": [ "Web" ], "description": "Search the web for a given query. The API returns a list of results with the title, summary, and URL.", "operationId": "searchWeb", "deprecated": false } }, "/retrieve-page-rank": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "page_rank": { "type": "number" }, "position": { "type": "integer" }, "percentile": { "type": "number" } } }, "examples": { "Response": { "value": { "page_rank": 9.13, "position": 30, "percentile": 0.999997 } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "domain", "description": "The domain for which the page rank should be returned.", "schema": { "pattern": ".", "maxLength": 100, "type": "string", "example": "amazon.com" }, "required": true, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/page-rank-api/" }, "summary": "Retrieve Page Rank", "tags": [ "Web" ], "description": "This API allows you to retrieve the page rank of a given URL. The API returns the page rank, the position of the URL in the search results, and the percentile of the page rank.", "operationId": "retrievePageRank", "deprecated": false } }, "/verify-email": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "email": { "type": "string", "nullable": true }, "domain": { "type": "string", "nullable": true }, "first_name": { "type": "string", "nullable": true }, "middle_name": { "type": "string", "nullable": true }, "last_name": { "type": "string", "nullable": true }, "full_name": { "type": "string", "nullable": true }, "username": { "type": "string", "nullable": true }, "image": { "type": "string", "nullable": true }, "result": { "type": "string", "nullable": true }, "disposable": { "type": "boolean" }, "accept_all": { "type": "boolean" }, "free_provider": { "type": "boolean" } } }, "examples": { "Response": { "value": { "email": "maxtest@gmail.com", "domain": "gmail.com", "first_name": "Max", "middle_name": null, "last_name": "Test", "full_name": "Max Test", "username": "mtst", "image": "https://0.gravatar.com/avatar/e61fff419c2ddf685b1520e768d33e40", "result": "valid", "disposable": false, "accept_all": false, "free_provider": true } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "email", "description": "The email address to verify.", "schema": { "pattern": ".", "maxLength": 100, "type": "string", "example": "maxtest@gmail.com" }, "required": true, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/email-verification-api/" }, "summary": "Verify Email Address", "tags": [ "Web" ], "description": "This email checker API allows you to validate an email address. The validation will parse the name if possible and check whether the email is not just a disposable junk email address. The API will also check if the email is from a free provider like Gmail, Yahoo, or Hotmail.", "operationId": "verifyEmailAddress", "deprecated": false } }, "/correct-spelling": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "corrected_text": { "type": "string", "nullable": true } } }, "examples": { "Response": { "value": { "corrected_text": "driving cars is fun" } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "text", "description": "The text to be corrected.", "schema": { "pattern": ".", "maxLength": 10000, "type": "string", "example": "Driving carss is fun." }, "required": true, "style": "form", "explode": false, "in": "query" }, { "name": "language", "description": "The language of the text, one of en, de, es, fr, or it.", "schema": { "pattern": ".", "maxLength": 2, "type": "string", "example": "en" }, "required": true, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/correct-spelling-api/" }, "summary": "Correct Spelling", "tags": [ "Text" ], "description": "The API corrects spelling mistakes in a given text. It returns the corrected text or the original text if nothing was corrected. This API supports text in the following languages: English (en), French (fr), German (de), Italian (it), and Spanish (es).", "operationId": "correctSpelling", "deprecated": false } }, "/detect-language": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "array", "items": { "type": "object", "properties": { "language": { "type": "string", "nullable": true }, "confidence": { "type": "number" } } } }, "examples": { "Response": { "value": [ { "language": "de", "confidence": 0.34 }, { "language": "et", "confidence": 0.22 }, { "language": "fi", "confidence": 0.13 }, { "language": "sv", "confidence": 0.11 }, { "language": "it", "confidence": 0.11 }, { "language": "es", "confidence": 0.05 }, { "language": "pt", "confidence": 0.03 }, { "language": "lt", "confidence": 0.01 } ] } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "text", "description": "The text for which the language should be detected.", "schema": { "pattern": ".", "maxLength": 10000, "type": "string", "example": "Das ist ein Text." }, "required": true, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/detect-language-api/" }, "summary": "Detect Language", "tags": [ "Text" ], "description": "Detect the language of the given text. The API returns a list of languages and their confidence scores. The confidence score is a value between 0 and 1, where 1 means the language was detected with 100% confidence. The API supports text in 22 languages.", "operationId": "detectLanguage", "deprecated": false } }, "/detect-sentiment": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "document": { "type": "object", "properties": { "sentiment": { "type": "string", "nullable": true }, "confidence": { "type": "integer" }, "average_confidence": { "type": "integer" } } }, "sentences": { "type": "array", "items": { "type": "object", "properties": { "length": { "type": "integer" }, "sentiment": { "type": "string", "nullable": true }, "offset": { "type": "integer" }, "confidence": { "type": "integer" } } } } } }, "examples": { "Response": { "value": { "document": { "sentiment": "positive", "confidence": 1, "average_confidence": 1 }, "sentences": [ { "length": 34, "sentiment": "positive", "offset": 0, "confidence": 1 } ] } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "text", "description": "The text for which the sentiment should be detected.", "schema": { "pattern": ".", "maxLength": 10000, "type": "string", "example": "Happy times feel so good." }, "required": true, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/detect-sentiment-api/" }, "summary": "Detect Sentiment", "tags": [ "Text" ], "description": "Detect the sentiment (positive or negative) of a given text. The entire document is scored and also each individual sentence.", "operationId": "detectSentiment", "deprecated": false } }, "/score-text": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "number_of_words": { "type": "integer" }, "number_of_sentences": { "type": "integer" }, "readability": { "type": "object", "properties": { "mainscores": { "type": "object", "properties": { "total_possible": { "type": "integer" }, "total": { "type": "integer" } } }, "subscores": { "type": "object", "properties": { "reading_time_seconds": { "type": "integer" }, "forcast": { "type": "number" }, "flesch": { "type": "number" }, "smog": { "type": "number" }, "ari": { "type": "number" }, "lix": { "type": "number" }, "coleman_liau": { "type": "number" }, "kincaid": { "type": "number" }, "fog": { "type": "number" } } } } }, "skimmability": { "type": "object", "properties": { "mainscores": { "type": "object", "properties": { "total_possible": { "type": "integer" }, "total": { "type": "number" } } }, "subscores": { "type": "object", "properties": { "bullet_point_ratio_score": { "type": "array", "items": { "type": "integer" } }, "image_score": { "type": "array", "items": { "type": "integer" } }, "highlighted_word_ratio_score": { "type": "array", "items": { "type": "integer" } }, "video_score": { "type": "array", "items": { "type": "integer" } }, "paragraph_score": { "type": "array", "items": { "type": "integer" } }, "paragraph_headline_ratio_score": { "type": "array", "items": { "type": "integer" } } } } } }, "interestingness": { "type": "object", "properties": { "mainscores": { "type": "object", "properties": { "total_possible": { "type": "integer" }, "total": { "type": "number" } } }, "subscores": { "type": "object", "properties": { "title_rating_score": { "type": "array", "items": { "type": "integer" } }, "quote_score": { "type": "array", "items": { "type": "integer" } }, "length_score": { "type": "array", "items": { "type": "integer" } }, "link_score": { "type": "array", "items": { "type": "integer" } }, "google_hits_score": { "type": "array", "items": { "type": "integer" } } } } } }, "style": { "type": "object", "properties": { "mainscores": { "type": "object", "properties": { "total_possible": { "type": "integer" }, "total": { "type": "integer" } } }, "subscores": { "type": "object", "properties": { "abbreviation_score": { "type": "array", "items": { "type": "integer" } }, "style_score": { "type": "array", "items": { "type": "integer" } }, "spelling_score": { "type": "array", "items": { "type": "integer" } } } } } }, "total_score": { "type": "number" } } }, "examples": { "Response": { "value": { "number_of_words": 7, "number_of_sentences": 1, "readability": { "mainscores": { "total_possible": 10, "total": 10 }, "subscores": { "reading_time_seconds": 1, "forcast": -0.99, "flesch": 78.873, "smog": 8.842, "ari": 0.237, "lix": -0.99, "coleman_liau": 2.633, "kincaid": 3.997, "fog": 8.514 } }, "skimmability": { "mainscores": { "total_possible": 10, "total": 3.076923 }, "subscores": { "bullet_point_ratio_score": [ 0, 2 ], "image_score": [ 0, 3 ], "highlighted_word_ratio_score": [ 0, 2 ], "video_score": [ 0, 1 ], "paragraph_score": [ 4, 3 ], "paragraph_headline_ratio_score": [ 0, 2 ] } }, "interestingness": { "mainscores": { "total_possible": 10, "total": 3.571429 }, "subscores": { "title_rating_score": [ 1, 4 ], "quote_score": [ 0, 1 ], "length_score": [ 0, 2 ], "link_score": [ 0, 2 ], "google_hits_score": [ 4, 4 ] } }, "style": { "mainscores": { "total_possible": 10, "total": 10 }, "subscores": { "abbreviation_score": [ 3, 3 ], "style_score": [ 5, 5 ], "spelling_score": [ 5, 5 ] } }, "total_score": 6.662088 } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "title", "description": "The title of the text to score.", "schema": { "pattern": ".", "maxLength": 10000, "type": "string", "example": "A short story" }, "required": true, "style": "form", "explode": false, "in": "query" }, { "name": "text", "description": "The text to score for multiple metrics.", "schema": { "pattern": ".", "maxLength": 10000, "type": "string", "example": "A nice short story to be analyzed" }, "required": true, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/score-text-api/" }, "summary": "Score Text", "tags": [ "Text" ], "description": "Score the readability, skimmability, interestingness, and style of a text. The readability score is based on the average length of the sentences and the average length of the words in the text. The text is scored with multiple readability scores such as Flesch, Smog, ARI, LIX, Kincaid, Fog, and Coleman Liau. Additionally, information such as the estimated reading time in seconds is returned.", "operationId": "scoreText", "deprecated": false } }, "/score-readability": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "readability": { "type": "object", "properties": { "mainscores": { "type": "object", "properties": { "total_possible": { "type": "integer" }, "total": { "type": "integer" } } }, "subscores": { "type": "object", "properties": { "reading_time_seconds": { "type": "integer" }, "forcast": { "type": "number" }, "flesch": { "type": "number" }, "smog": { "type": "number" }, "ari": { "type": "number" }, "lix": { "type": "number" }, "coleman_liau": { "type": "number" }, "kincaid": { "type": "number" }, "fog": { "type": "number" } } } } } } }, "examples": { "Response": { "value": { "readability": { "mainscores": { "total_possible": 10, "total": 10 }, "subscores": { "reading_time_seconds": 3, "forcast": -0.99, "flesch": 50.471, "smog": 11.208, "ari": 8.258, "lix": -0.99, "coleman_liau": 10.889, "kincaid": 9.449, "fog": 11.354 } } } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "text", "description": "The text to score for readability.", "schema": { "pattern": ".", "maxLength": 10000, "type": "string", "example": "A rather complex text, hard to read, and highly convoluted using acronym TERMS." }, "required": true, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/score-readability-api/" }, "summary": "Score Readability", "tags": [ "Text" ], "description": "Score the readability of a text. The readability score is based on the average length of the sentences and the average length of the words in the text. The text is score with multiple readability scores such as Flesch, Smog, ARI, LIX, Kincaid, Fog, and Coleman Liau.", "operationId": "scoreReadability", "deprecated": false } }, "/extract-dates": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "dates": { "type": "array", "items": { "type": "object", "properties": { "start_position": { "type": "integer" }, "date": { "type": "string", "nullable": true }, "normalized_date": { "type": "number" }, "tag": { "type": "string", "nullable": true }, "end_position": { "type": "integer" } } } } } }, "examples": { "Response": { "value": { "dates": [ { "start_position": 3, "date": "April 5th, 2035", "normalized_date": 2059336800000, "tag": "DATETIME", "end_position": 18 } ] } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "text", "description": "The text from which dates should be extracted.", "schema": { "pattern": ".", "maxLength": 10000, "type": "string", "example": "On 5th or April, 2035 there will be flying cars - 2023-02-12." }, "required": true, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/extract-dates-api/" }, "summary": "Extract Dates", "tags": [ "Text" ], "description": "Extract dates from a given text. The API will return a list of dates with their positions in the text and the normalized form of the date. A large list of date formats is supported. For example, the text could contain dates in the form of \"April 5th, 2035\", \"04/05/2035\", or \"05.04.2035\". The normalized date is the date in the form of a timestamp (milliseconds since 1970).", "operationId": "extractDates", "deprecated": false } }, "/detect-gender": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "name": { "type": "string", "nullable": true }, "probability_male": { "type": "number" }, "probability_female": { "type": "number" }, "popularity": { "type": "number" } } }, "examples": { "Response": { "value": { "name": "Alex", "probability_male": 0.9679, "probability_female": 0.0321, "popularity": 0.00152 } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "name", "description": "The name of the perso for which the sentiment should be detected.", "schema": { "pattern": ".", "maxLength": 30, "type": "string", "example": "Alex" }, "required": true, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/gender-name-detection-api/" }, "summary": "Detect Gender by Name", "tags": [ "Text" ], "description": "Detect the likelihood that a name is given to a male or female (aka to \"genderize\" a name). While there are more than two genders, this API is limited to the binary classification as the name is given to the baby when it is born and only the sex is known.", "operationId": "detectGenderByName", "deprecated": false } }, "/list-synonyms": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "synonyms": { "type": "array", "items": { "type": "string", "nullable": true } } } }, "examples": { "Response": { "value": { "synonyms": [ "aeroplane", "plane", "heavier-than-air craft" ] } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "word", "description": "The (noun) word for which a list of synonyms should be returned.", "schema": { "pattern": ".", "maxLength": 50, "type": "string", "example": "airplane" }, "required": true, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/synonyms-api/" }, "summary": "List Word Synonyms", "tags": [ "Text" ], "description": "Return synonyms of a word.", "operationId": "listWordSynonyms", "deprecated": false } }, "/tag-pos": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "tagged_text": { "type": "string", "nullable": true } } }, "examples": { "Response": { "value": { "tagged_text": "The/AT lazy/JJ dog/NN jumps/NNS over/UNDER the/AT quick/RB brown/JJ fox/NN" } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "text", "description": "The text to tag the part of speech.", "schema": { "pattern": ".", "maxLength": 10000, "type": "string", "example": "The lazy dog jumps over the quick brown fox." }, "required": true, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/pos-tagging-api/" }, "summary": "Tag Part of Speech", "tags": [ "Text" ], "description": "Part of speech tagging is the process of marking up a word in a text as corresponding to a particular part of speech, based on both its definition and its context. This is a simple API that takes a text and returns the tagged text.", "operationId": "tagPartOfSpeech", "deprecated": false } }, "/stem-text": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "original": { "type": "string", "nullable": true }, "stemmed": { "type": "string", "nullable": true } } }, "examples": { "Response": { "value": { "original": "The laziest dogs are jumping over the quicker brown foxes", "stemmed": "The laziest dog are jump over the quicker brown fox" } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "text", "description": "The text to be stemmed.", "schema": { "pattern": ".", "maxLength": 10000, "type": "string", "example": "The laziest dogs are jumping over the quicker brown foxes." }, "required": true, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/stemming-api/" }, "summary": "Stem Text", "tags": [ "Text" ], "description": "The Text Stemming API is used to get the root form of a word. It is useful for searching and natural language processing.", "operationId": "stemText", "deprecated": false } }, "/singularize-word": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "original": { "type": "string", "nullable": true }, "singular": { "type": "string", "nullable": true } } }, "examples": { "Response": { "value": { "original": "parties", "singular": "party" } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "word", "description": "The (noun) word for which the singular form should be found.", "schema": { "pattern": ".", "maxLength": 50, "type": "string", "example": "airplanes" }, "required": true, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/word-singularization-pluralization-api/" }, "summary": "Singularize Word", "tags": [ "Text" ], "description": "Find the singular form of a word.", "operationId": "singularizeWord", "deprecated": false } }, "/pluralize-word": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "original": { "type": "string", "nullable": true }, "plural": { "type": "string", "nullable": true } } }, "examples": { "Response": { "value": { "original": "party", "plural": "parties" } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "word", "description": "The (noun) word for which the plural form should be found.", "schema": { "pattern": ".", "maxLength": 50, "type": "string", "example": "party" }, "required": true, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/word-singularization-pluralization-api/" }, "summary": "Pluralize Word", "tags": [ "Text" ], "description": "Find the plural form of a word.", "operationId": "pluralizeWord", "deprecated": false } }, "/extract-entities": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "entities": { "type": "array", "items": { "type": "object", "properties": { "start_position": { "type": "integer" }, "image": { "type": "string", "nullable": true }, "type": { "type": "string", "nullable": true }, "value": { "type": "string", "nullable": true }, "end_position": { "type": "integer" } } } } } }, "examples": { "Response": { "value": { "entities": [ { "start_position": 0, "image": "https://upload.wikimedia.org/wikipedia/commons/8/8b/Jim_Carrey_2008.jpg", "type": "PER", "value": "Jim Carrey", "end_position": 10 }, { "start_position": 28, "type": "LOC", "value": "Canada", "end_position": 34 } ] } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "text", "description": "The text from which entities should be extracted.", "schema": { "pattern": ".", "maxLength": 10000, "type": "string", "example": "Jim Carrey is an actor from Canada" }, "required": true, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/extract-entities-api/" }, "summary": "Extract Entities", "tags": [ "Text" ], "description": "Extract entities from a text. An entity is a word or a group of words that represent a concept. For example, the word \"Canada\" represents the concept of a country. The word \"Jim Carrey\" represents the concept of a person. The word \"Tesla\" represents the concept of a company. The API will return a list of entities found in the text. The entities are classified into different types such as person, location, organization, etc.", "operationId": "extractEntities", "deprecated": false } }, "/search-images": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "images": { "type": "array", "items": { "type": "object", "properties": { "width": { "type": "integer" }, "license": { "type": "object", "properties": { "name": { "type": "string", "nullable": true }, "link": { "type": "string", "nullable": true } } }, "thumbnail": { "type": "string", "nullable": true }, "id": { "type": "string", "nullable": true }, "url": { "type": "string", "nullable": true }, "height": { "type": "integer" } } } } } }, "examples": { "Response": { "value": { "images": [ { "width": 2303, "license": { "name": "FREE", "link": "https://unsplash.com/license" }, "thumbnail": "https://images.unsplash.com/photo-1529472119196-cb724127a98e?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w5NTgyNnwwfDF8c2VhcmNofDF8fGRvZ3N8ZW58MHx8fHwxNzA4MjkyMjA0fDA&ixlib=rb-4.0.3&q=80&w=200", "id": "U6nlG0Y5sfs", "url": "https://images.unsplash.com/photo-1529472119196-cb724127a98e?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w5NTgyNnwwfDF8c2VhcmNofDF8fGRvZ3N8ZW58MHx8fHwxNzA4MjkyMjA0fDA&ixlib=rb-4.0.3&q=80&w=1080", "height": 3594 }, { "width": 2694, "license": { "name": "FREE", "link": "https://unsplash.com/license" }, "thumbnail": "https://images.unsplash.com/photo-1598133894008-61f7fdb8cc3a?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w5NTgyNnwwfDF8c2VhcmNofDJ8fGRvZ3N8ZW58MHx8fHwxNzA4MjkyMjA0fDA&ixlib=rb-4.0.3&q=80&w=200", "id": "BJaqPaH6AGQ", "url": "https://images.unsplash.com/photo-1598133894008-61f7fdb8cc3a?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w5NTgyNnwwfDF8c2VhcmNofDJ8fGRvZ3N8ZW58MHx8fHwxNzA4MjkyMjA0fDA&ixlib=rb-4.0.3&q=80&w=1080", "height": 4033 }, { "width": 3024, "license": { "name": "FREE", "link": "https://unsplash.com/license" }, "thumbnail": "https://images.unsplash.com/photo-1568572933382-74d440642117?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w5NTgyNnwwfDF8c2VhcmNofDN8fGRvZ3N8ZW58MHx8fHwxNzA4MjkyMjA0fDA&ixlib=rb-4.0.3&q=80&w=200", "id": "v0_MCllHY9M", "url": "https://images.unsplash.com/photo-1568572933382-74d440642117?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w5NTgyNnwwfDF8c2VhcmNofDN8fGRvZ3N8ZW58MHx8fHwxNzA4MjkyMjA0fDA&ixlib=rb-4.0.3&q=80&w=1080", "height": 4032 } ] } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "query", "description": "The search query.", "schema": { "pattern": ".", "maxLength": 300, "type": "string", "example": "dogs" }, "required": true, "style": "form", "explode": false, "in": "query" }, { "name": "number", "description": "The number of images to return in range [1,100]", "schema": { "format": "int32", "minimum": 1, "maximum": 100, "type": "integer", "example": 3 }, "required": false, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/search-images-api/" }, "summary": "Search Royalty Free Images", "tags": [ "Media" ], "description": "Search through hundreds of thousands of royalty free images to match any topic you want. The images are returned in a list with the URL, width, and height of the image. Additionally, you can find the license type and link of the image.", "operationId": "searchRoyaltyFreeImages", "deprecated": false } }, "/search-icons": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "icons": { "type": "array", "items": { "type": "object", "properties": { "width": { "type": "integer" }, "license": { "type": "object", "properties": { "name": { "type": "string", "nullable": true }, "link": { "type": "string", "nullable": true } } }, "thumbnail": { "type": "string", "nullable": true }, "id": { "type": "string", "nullable": true }, "url": { "type": "string", "nullable": true }, "height": { "type": "integer" } } } } } }, "examples": { "Response": { "value": { "icons": [ { "width": 200, "license": { "name": "PUBLIC_DOMAIN", "link": "public-domain" }, "thumbnail": "https://static.thenounproject.com/png/4435839-200.png", "id": "4435839", "url": "https://static.thenounproject.com/png/4435839-200.png", "height": 200 }, { "width": 200, "license": { "name": "PUBLIC_DOMAIN", "link": "public-domain" }, "thumbnail": "https://static.thenounproject.com/png/4256398-200.png", "id": "4256398", "url": "https://static.thenounproject.com/png/4256398-200.png", "height": 200 }, { "width": 200, "license": { "name": "PUBLIC_DOMAIN", "link": "public-domain" }, "thumbnail": "https://static.thenounproject.com/png/3675912-200.png", "id": "3675912", "url": "https://static.thenounproject.com/png/3675912-200.png", "height": 200 } ] } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "query", "description": "The search query.", "schema": { "pattern": ".", "maxLength": 300, "type": "string", "example": "cars" }, "required": true, "style": "form", "explode": false, "in": "query" }, { "name": "only-public-domain", "description": "If true, only public domain icons will be returned.", "schema": { "type": "boolean", "example": true }, "required": false, "style": "form", "explode": false, "in": "query" }, { "name": "number", "description": "The number of icons to return in range [1,100]", "schema": { "format": "int32", "minimum": 1, "maximum": 100, "type": "integer", "example": 3 }, "required": false, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/search-icons-api/" }, "summary": "Search Icons", "tags": [ "Media" ], "description": "Search through millions of icons to match any topic you want.", "operationId": "searchIcons", "deprecated": false } }, "/rescale-image": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/octet-stream": { "schema": { "format": "binary", "type": "string" } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "url", "description": "The url of the image to be rescaled.", "schema": { "pattern": ".", "maxLength": 1000, "type": "string", "example": "https://fastly.picsum.photos/id/63/5000/2813.jpg?hmac=HvaeSK6WT-G9bYF_CyB2m1ARQirL8UMnygdU9W6PDvM " }, "required": true, "style": "form", "explode": false, "in": "query" }, { "name": "width", "description": "The desired width of the rescaled image.", "schema": { "format": "int32", "minimum": 1, "maximum": 5000, "type": "integer", "example": 200 }, "required": true, "style": "form", "explode": false, "in": "query" }, { "name": "height", "description": "The desired height of the rescaled image.", "schema": { "format": "int32", "minimum": 1, "maximum": 5000, "type": "integer", "example": 200 }, "required": true, "style": "form", "explode": false, "in": "query" }, { "name": "crop", "description": "Whether the image should be cropped. If true, the returned image will have exactly the given width and height and some content might have been cropped from the left/right or top/bottom. If this parameter is false, the image will keep its ratio but will be resized to fill the given box. Some content might be outside the box though.", "schema": { "type": "boolean", "example": true }, "required": true, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/rescale-image-api/" }, "summary": "Rescale Image", "tags": [ "Media" ], "description": "Rescale an image to a specific width and height. The image will be resized to fit the specified width and height while maintaining the original aspect ratio unless the crop parameter is set to true. The image will be returned in the same format as the original image.", "operationId": "rescaleImage", "deprecated": false } }, "/detect-color": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "array", "items": { "type": "object", "properties": { "specific_color": { "type": "string", "nullable": true }, "main_color": { "type": "string", "nullable": true }, "hex_code": { "type": "string", "nullable": true } } } }, "examples": { "Response": { "value": [ { "specific_color": "Firebrick", "main_color": "Red", "hex_code": "#b01c20" }, { "specific_color": "Thistle Green", "main_color": "Green", "hex_code": "#bfaf9a" }, { "specific_color": "Brown Pod", "main_color": "Brown", "hex_code": "#36180d" } ] } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "url", "description": "The url of the image for which the colors should be detected.", "schema": { "pattern": ".", "maxLength": 1000, "type": "string", "example": "https://fastly.picsum.photos/id/63/5000/2813.jpg?hmac=HvaeSK6WT-G9bYF_CyB2m1ARQirL8UMnygdU9W6PDvM " }, "required": true, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/detect-main-image-color-api/" }, "summary": "Detect Main Image Color", "tags": [ "Media" ], "description": "Detect the main color of an image. The API returns a list of colors and their hex codes. The API supports images in the following formats: JPEG, PNG, and GIF.", "operationId": "detectMainImageColor", "deprecated": false } }, "/convert-units": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "target_amount": { "type": "number" }, "target_unit": { "type": "string", "nullable": true } } }, "examples": { "Response": { "value": { "target_amount": 220.462262, "target_unit": "lb" } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "source-amount", "description": "The source amount.", "schema": { "format": "double", "minimum": 0, "maximum": 99999999, "type": "number", "example": 100 }, "required": true, "style": "form", "explode": false, "in": "query" }, { "name": "source-unit", "description": "The source unit.", "schema": { "pattern": ".", "maxLength": 100, "type": "string", "example": "kg" }, "required": true, "style": "form", "explode": false, "in": "query" }, { "name": "target-unit", "description": "The unit to which should be converted.", "schema": { "pattern": ".", "maxLength": 100, "type": "string", "example": "lb" }, "required": true, "style": "form", "explode": false, "in": "query" }, { "name": "food-name", "description": "An optional food name. For converting foods the food is relevant as they have different densities.", "schema": { "pattern": ".", "maxLength": 200, "type": "string", "example": "flour" }, "required": false, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/convert-units-api/" }, "summary": "Convert Units", "tags": [ "Math" ], "description": "Convert units from one to another. The API returns the amount and the unit of the target unit.", "operationId": "convertUnits", "deprecated": false } }, "/read-key-value": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "value": { "type": "string", "nullable": true } } }, "examples": { "Response": { "value": { "value": "100" } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "key", "description": "The key for which the value is stored (max length 255 characters).", "schema": { "pattern": ".", "maxLength": 255, "type": "string", "example": "visitors24h" }, "required": true, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/key-value-storage-api/" }, "summary": "Read Key Value from Store", "tags": [ "Storage" ], "description": "Read a value from the key-value store. The key-value store is a simple storage system that allows you to store and retrieve data using a key. The data is stored in the cloud and can be accessed from anywhere. You can use the key-value store to store any type of data, such as text or numbers. The key-value store is a great way to store data that you want to access from multiple devices or locations.", "operationId": "readKeyValueFromStore", "deprecated": false } }, "/store-key-value": { "get": { "responses": { "200": { "description": "Success", "headers": {}, "content": { "application/json": { "schema": { "type": "object", "properties": { "status": { "type": "string", "nullable": true } } }, "examples": { "Response": { "value": { "status": "success" } } } } } }, "401": { "description": "Unauthorized" }, "402": { "description": "Payment Required" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" }, "406": { "description": "Not Acceptable" }, "429": { "description": "Too Many Requests" } }, "parameters": [ { "name": "key", "description": "The key for which the value is stored (max length 255 characters).", "schema": { "pattern": ".", "maxLength": 255, "type": "string", "example": "visitors24h" }, "required": true, "style": "form", "explode": false, "in": "query" }, { "name": "value", "description": "The value that is supposed to be stored (max length 10,000 characters).", "schema": { "pattern": ".", "maxLength": 10000, "type": "string", "example": "23578 visitors" }, "required": true, "style": "form", "explode": false, "in": "query" } ], "externalDocs": { "description": "Read entire docs", "url": "https://apileague.com/apis/key-value-storage-api/" }, "summary": "Store Key Value (GET)", "tags": [ "Storage" ], "description": "Store a value in the key-value store. The key-value store is a simple storage system that allows you to store and retrieve data using a key. The data is stored in the cloud and can be accessed from anywhere. You can use the key-value store to store any type of data, such as text or numbers. The key-value store is a great way to store data that you want to access from multiple devices or locations.", "operationId": "storeKeyValueGET", "deprecated": false } } }, "components": { "schemas": {}, "securitySchemes": { "apiKey": { "name": "api-key", "type": "apiKey", "in": "query" }, "headerApiKey": { "name": "x-api-key", "type": "apiKey", "in": "header" } } }, "security": [ { "apiKey": [] }, { "headerApiKey": [] } ] }