{"id":"61f7ffe6-7286-4263-a53e-39c32bcc552c","shortId":"mhTbhJ","kind":"skill","title":"api-ninjas","tagline":"API Ninjas integration. Manage Organizations, Users, Goals, Filters. Use when the user wants to interact with API Ninjas data.","description":"# API Ninjas\n\nAPI Ninjas provides a collection of APIs for developers to quickly integrate various functionalities into their applications. It's used by developers who need access to data or services like weather information, text analysis, or image processing without building them from scratch.\n\nOfficial docs: https://api-ninjas.com/documentation\n\n## API Ninjas Overview\n\n- **API**\n  - **API Usage**\n- **Subscription**\n  - **Subscription Usage**\n- **Pricing**\n- **Authentication**\n\n## Working with API Ninjas\n\nThis skill uses the Membrane CLI to interact with API Ninjas. Membrane handles authentication and credentials refresh automatically — so you can focus on the integration logic rather than auth plumbing.\n\n### Install the CLI\n\nInstall the Membrane CLI so you can run `membrane` from the terminal:\n\n```bash\nnpm install -g @membranehq/cli@latest\n```\n\n### Authentication\n\n```bash\nmembrane login --tenant --clientName=<agentType>\n```\n\nThis will either open a browser for authentication or print an authorization URL to the console, depending on whether interactive mode is available.\n\n**Headless environments:** The command will print an authorization URL. Ask the user to open it in a browser. When they see a code after completing login, finish with:\n\n```bash\nmembrane login complete <code>\n```\n\nAdd `--json` to any command for machine-readable JSON output.\n\n**Agent Types** : claude, openclaw, codex, warp, windsurf, etc. Those will be used to adjust tooling to be used best with your harness\n\n### Connecting to API Ninjas\n\nUse `membrane connection ensure` to find or create a connection by app URL or domain:\n\n```bash\nmembrane connection ensure \"https://api-ninjas.com/\" --json\n```\nThe user completes authentication in the browser. The output contains the new connection id.\n\nThis is the fastest way to get a connection. The URL is normalized to a domain and matched against known apps. If no app is found, one is created and a connector is built automatically.\n\nIf the returned connection has `state: \"READY\"`, skip to **Step 2**.\n\n#### 1b. Wait for the connection to be ready\n\nIf the connection is in `BUILDING` state, poll until it's ready:\n\n```bash\nnpx @membranehq/cli connection get <id> --wait --json\n```\n\nThe `--wait` flag long-polls (up to `--timeout` seconds, default 30) until the state changes. Keep polling until `state` is no longer `BUILDING`.\n\nThe resulting state tells you what to do next:\n\n- **`READY`** — connection is fully set up. Skip to **Step 2**.\n- **`CLIENT_ACTION_REQUIRED`** — the user or agent needs to do something. The `clientAction` object describes the required action:\n  - `clientAction.type` — the kind of action needed:\n    - `\"connect\"` — user needs to authenticate (OAuth, API key, etc.). This covers initial authentication and re-authentication for disconnected connections.\n    - `\"provide-input\"` — more information is needed (e.g. which app to connect to).\n  - `clientAction.description` — human-readable explanation of what's needed.\n  - `clientAction.uiUrl` (optional) — URL to a pre-built UI where the user can complete the action. Show this to the user when present.\n  - `clientAction.agentInstructions` (optional) — instructions for the AI agent on how to proceed programmatically.\n\n  After the user completes the action (e.g. authenticates in the browser), poll again with `membrane connection get <id> --json` to check if the state moved to `READY`.\n\n- **`CONFIGURATION_ERROR`** or **`SETUP_FAILED`** — something went wrong. Check the `error` field for details.\n\n### Searching for actions\n\nSearch using a natural language description of what you want to do:\n\n```bash\nmembrane action list --connectionId=CONNECTION_ID --intent \"QUERY\" --limit 10 --json\n```\n\nYou should always search for actions in the context of a specific connection.\n\nEach result includes `id`, `name`, `description`, `inputSchema` (what parameters the action accepts), and `outputSchema` (what it returns).\n\n## Popular actions\n\n| Name | Key | Description |\n| --- | --- | --- |\n| Lookup IP Address | lookup-ip-address | Returns location information (country, region, timezone) for an IP address. |\n| Compare Text Similarity | compare-text-similarity | Computes similarity score between two pieces of text using NLP machine learning models. |\n| Lookup Domain WHOIS | lookup-domain-whois | Retrieves domain registration information including registrar, creation date, expiration date, and name servers. |\n| Validate Email | validate-email | Validates an email address and returns metadata including whether it is valid, has MX records, and if it's a disposab... |\n| Geocode City | geocode-city | Converts a city name to latitude and longitude coordinates. |\n| Get Jokes | get-jokes | Returns random funny jokes. |\n| Get Joke of the Day | get-joke-of-the-day | Returns a single joke for the current day. |\n| Analyze Sentiment | analyze-sentiment | Returns sentiment analysis score and overall sentiment (POSITIVE, WEAK_POSITIVE, NEGATIVE, WEAK_NEGATIVE, or NEUTRAL)... |\n| Get Quotes | get-quotes | Returns high-quality quotes with advanced filtering by categories, author, and work. |\n| Get Random Quotes | get-random-quotes | Returns random high-quality quotes with advanced filtering. |\n| Get Weather | get-weather | Get current weather data including temperature, humidity, wind speed, and sunrise/sunset times by coordinates. |\n| Get Nutrition Info | get-nutrition-info | Extracts nutrition information from freeform text using natural language processing. |\n| Get Quote of the Day | get-quote-of-the-day | Returns a single aphoristic quote for the current day. |\n\n### Running actions\n\n```bash\nmembrane action run <actionId> --connectionId=CONNECTION_ID --json\n```\n\nTo pass JSON parameters:\n\n```bash\nmembrane action run <actionId> --connectionId=CONNECTION_ID --input '{\"key\": \"value\"}' --json\n```\n\nThe result is in the `output` field of the response.\n\n\n### Proxy requests\n\nWhen the available actions don't cover your use case, you can send requests directly to the API Ninjas API through Membrane's proxy. Membrane automatically appends the base URL to the path you provide and injects the correct authentication headers — including transparent credential refresh if they expire.\n\n```bash\nmembrane request CONNECTION_ID /path/to/endpoint\n```\n\nCommon options:\n\n| Flag | Description |\n|------|-------------|\n| `-X, --method` | HTTP method (GET, POST, PUT, PATCH, DELETE). Defaults to GET |\n| `-H, --header` | Add a request header (repeatable), e.g. `-H \"Accept: application/json\"` |\n| `-d, --data` | Request body (string) |\n| `--json` | Shorthand to send a JSON body and set `Content-Type: application/json` |\n| `--rawData` | Send the body as-is without any processing |\n| `--query` | Query-string parameter (repeatable), e.g. `--query \"limit=10\"` |\n| `--pathParam` | Path parameter (repeatable), e.g. `--pathParam \"id=123\"` |\n\n\n## Best practices\n\n- **Always prefer Membrane to talk with external apps** — Membrane provides pre-built actions with built-in auth, pagination, and error handling. This will burn less tokens and make communication more secure\n- **Discover before you build** — run `membrane action list --intent=QUERY` (replace QUERY with your intent) to find existing actions before writing custom API calls. Pre-built actions handle pagination, field mapping, and edge cases that raw API calls miss.\n- **Let Membrane handle credentials** — never ask the user for API keys or tokens. Create a connection instead; Membrane manages the full Auth lifecycle server-side with no local secrets.","tags":["api","ninjas","application","skills","membranedev","agent-skills","claude-code-skill","claude-skills","membrane"],"capabilities":["skill","source-membranedev","skill-api-ninjas","topic-agent-skills","topic-claude-code-skill","topic-claude-skills","topic-membrane","topic-skills"],"categories":["application-skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/membranedev/application-skills/api-ninjas","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add membranedev/application-skills","source_repo":"https://github.com/membranedev/application-skills","install_from":"skills.sh"}},"qualityScore":"0.465","qualityRationale":"deterministic score 0.47 from registry signals: · indexed on github topic:agent-skills · 30 github stars · SKILL.md body (7,530 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-04-28T18:57:34.569Z","embedding":null,"createdAt":"2026-04-18T22:26:56.443Z","updatedAt":"2026-04-28T18:57:34.569Z","lastSeenAt":"2026-04-28T18:57:34.569Z","tsv":"'/documentation':71 '/path/to/endpoint':915 '10':553,980 '123':988 '1b':317 '2':316,386 '30':355 'accept':579,941 'access':49 'action':388,404,409,468,493,530,545,560,578,586,826,829,841,865,1004,1030,1042,1051 'add':199,934 'address':592,596,606,655 'adjust':223 'advanc':746,767 'agent':210,393,482 'ai':481 'alway':557,991 'analysi':58,722 'analyz':715,718 'analyze-senti':717 'aphorist':819 'api':2,4,20,23,25,31,72,75,76,85,96,234,417,879,881,1046,1061,1073 'api-ninja':1 'api-ninjas.com':70,255 'api-ninjas.com/documentation':69 'app':247,291,294,440,998 'append':888 'applic':41 'application/json':942,960 'as-i':965 'ask':176,1069 'auth':115,1009,1085 'authent':82,100,138,151,260,415,423,427,495,901 'author':155,174,750 'automat':104,305,887 'avail':166,864 'base':890 'bash':132,139,195,251,337,543,827,839,910 'best':228,989 'bodi':946,954,964 'browser':149,184,263,498 'build':63,330,367,1027 'built':304,460,1003,1007,1050 'built-in':1006 'burn':1016 'call':1047,1062 'case':871,1058 'categori':749 'chang':359 'check':507,522 'citi':674,677,680 'claud':212 'cli':92,119,123 'client':387 'clientact':399 'clientaction.agentinstructions':476 'clientaction.description':444 'clientaction.type':405 'clientaction.uiurl':453 'clientnam':143 'code':189 'codex':214 'collect':29 'command':170,203 'common':916 'communic':1021 'compar':607,611 'compare-text-similar':610 'complet':191,198,259,466,491 'comput':614 'configur':514 'connect':232,238,245,253,269,279,309,321,327,340,378,411,430,442,503,548,567,832,844,913,1079 'connectionid':547,831,843 'connector':302 'consol':159 'contain':266 'content':958 'content-typ':957 'context':563 'convert':678 'coordin':686,787 'correct':900 'countri':600 'cover':421,868 'creat':243,299,1077 'creation':640 'credenti':102,905,1067 'current':713,775,823 'custom':1045 'd':943 'data':22,51,777,944 'date':641,643 'day':700,706,714,809,815,824 'default':354,929 'delet':928 'depend':160 'describ':401 'descript':536,573,589,919 'detail':527 'develop':33,46 'direct':876 'disconnect':429 'discov':1024 'disposab':672 'doc':68 'domain':250,286,628,632,635 'e.g':438,494,939,977,985 'edg':1057 'either':146 'email':648,651,654 'ensur':239,254 'environ':168 'error':515,524,1012 'etc':217,419 'exist':1041 'expir':642,909 'explan':448 'extern':997 'extract':795 'fail':518 'fastest':274 'field':525,856,1054 'filter':11,747,768 'find':241,1040 'finish':193 'flag':346,918 'focus':108 'found':296 'freeform':799 'full':1084 'fulli':380 'function':38 'funni':694 'g':135 'geocod':673,676 'geocode-c':675 'get':277,341,504,687,690,696,702,735,738,753,757,769,772,774,788,792,805,811,924,931 'get-jok':689 'get-joke-of-the-day':701 'get-nutrition-info':791 'get-quot':737 'get-quote-of-the-day':810 'get-random-quot':756 'get-weath':771 'goal':10 'h':932,940 'handl':99,1013,1052,1066 'har':231 'header':902,933,937 'headless':167 'high':742,763 'high-qual':741,762 'http':922 'human':446 'human-read':445 'humid':780 'id':270,549,571,833,845,914,987 'imag':60 'includ':570,638,659,778,903 'info':790,794 'inform':56,435,599,637,797 'initi':422 'inject':898 'input':433,846 'inputschema':574 'instal':117,120,134 'instead':1080 'instruct':478 'integr':6,36,111 'intent':550,1032,1038 'interact':18,94,163 'ip':591,595,605 'joke':688,691,695,697,703,710 'json':200,208,256,343,505,554,834,837,849,948,953 'keep':360 'key':418,588,847,1074 'kind':407 'known':290 'languag':535,803 'latest':137 'latitud':683 'learn':625 'less':1017 'let':1064 'lifecycl':1086 'like':54 'limit':552,979 'list':546,1031 'local':1092 'locat':598 'logic':112 'login':141,192,197 'long':348 'long-pol':347 'longer':366 'longitud':685 'lookup':590,594,627,631 'lookup-domain-whoi':630 'lookup-ip-address':593 'machin':206,624 'machine-read':205 'make':1020 'manag':7,1082 'map':1055 'match':288 'membran':91,98,122,128,140,196,237,252,502,544,828,840,883,886,911,993,999,1029,1065,1081 'membranehq/cli':136,339 'metadata':658 'method':921,923 'miss':1063 'mode':164 'model':626 'move':511 'mx':665 'name':572,587,645,681 'natur':534,802 'need':48,394,410,413,437,452 'negat':730,732 'neutral':734 'never':1068 'new':268 'next':376 'ninja':3,5,21,24,26,73,86,97,235,880 'nlp':623 'normal':283 'npm':133 'npx':338 'nutrit':789,793,796 'oauth':416 'object':400 'offici':67 'one':297 'open':147,180 'openclaw':213 'option':454,477,917 'organ':8 'output':209,265,855 'outputschema':581 'overal':725 'overview':74 'pagin':1010,1053 'paramet':576,838,975,983 'pass':836 'patch':927 'path':894,982 'pathparam':981,986 'piec':619 'plumb':116 'poll':332,349,361,499 'popular':585 'posit':727,729 'post':925 'practic':990 'pre':459,1002,1049 'pre-built':458,1001,1048 'prefer':992 'present':475 'price':81 'print':153,172 'proceed':486 'process':61,804,970 'programmat':487 'provid':27,432,896,1000 'provide-input':431 'proxi':860,885 'put':926 'qualiti':743,764 'queri':551,971,973,978,1033,1035 'query-str':972 'quick':35 'quot':736,739,744,755,759,765,806,812,820 'random':693,754,758,761 'rather':113 'raw':1060 'rawdata':961 're':426 're-authent':425 'readabl':207,447 'readi':312,324,336,377,513 'record':666 'refresh':103,906 'region':601 'registr':636 'registrar':639 'repeat':938,976,984 'replac':1034 'request':861,875,912,936,945 'requir':389,403 'respons':859 'result':369,569,851 'retriev':634 'return':308,584,597,657,692,707,720,740,760,816 'run':127,825,830,842,1028 'score':616,723 'scratch':66 'search':528,531,558 'second':353 'secret':1093 'secur':1023 'see':187 'send':874,951,962 'sentiment':716,719,721,726 'server':646,1088 'server-sid':1087 'servic':53 'set':381,956 'setup':517 'shorthand':949 'show':469 'side':1089 'similar':609,613,615 'singl':709,818 'skill':88 'skill-api-ninjas' 'skip':313,383 'someth':397,519 'source-membranedev' 'specif':566 'speed':782 'state':311,331,358,363,370,510 'step':315,385 'string':947,974 'subscript':78,79 'sunrise/sunset':784 'talk':995 'tell':371 'temperatur':779 'tenant':142 'termin':131 'text':57,608,612,621,800 'time':785 'timeout':352 'timezon':602 'token':1018,1076 'tool':224 'topic-agent-skills' 'topic-claude-code-skill' 'topic-claude-skills' 'topic-membrane' 'topic-skills' 'transpar':904 'two':618 'type':211,959 'ui':461 'url':156,175,248,281,455,891 'usag':77,80 'use':12,44,89,221,227,236,532,622,801,870 'user':9,15,178,258,391,412,464,473,490,1071 'valid':647,650,652,663 'validate-email':649 'valu':848 'various':37 'wait':318,342,345 'want':16,540 'warp':215 'way':275 'weak':728,731 'weather':55,770,773,776 'went':520 'whether':162,660 'whoi':629,633 'wind':781 'windsurf':216 'without':62,968 'work':83,752 'write':1044 'wrong':521 'x':920","prices":[{"id":"f5576935-3293-44e7-9f34-7209aceeb496","listingId":"61f7ffe6-7286-4263-a53e-39c32bcc552c","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"membranedev","category":"application-skills","install_from":"skills.sh"},"createdAt":"2026-04-18T22:26:56.443Z"}],"sources":[{"listingId":"61f7ffe6-7286-4263-a53e-39c32bcc552c","source":"github","sourceId":"membranedev/application-skills/api-ninjas","sourceUrl":"https://github.com/membranedev/application-skills/tree/main/skills/api-ninjas","isPrimary":false,"firstSeenAt":"2026-04-18T22:26:56.443Z","lastSeenAt":"2026-04-28T18:57:34.569Z"}],"details":{"listingId":"61f7ffe6-7286-4263-a53e-39c32bcc552c","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"membranedev","slug":"api-ninjas","github":{"repo":"membranedev/application-skills","stars":30,"topics":["agent-skills","claude-code-skill","claude-skills","membrane","skills"],"license":null,"html_url":"https://github.com/membranedev/application-skills","pushed_at":"2026-04-28T08:45:44Z","description":null,"skill_md_sha":"0ec009e65ba16f72c8c74832a0972ba6c41239f9","skill_md_path":"skills/api-ninjas/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/membranedev/application-skills/tree/main/skills/api-ninjas"},"layout":"multi","source":"github","category":"application-skills","frontmatter":{"name":"api-ninjas","license":"MIT","description":"API Ninjas integration. Manage Organizations, Users, Goals, Filters. Use when the user wants to interact with API Ninjas data.","compatibility":"Requires network access and a valid Membrane account (Free tier supported)."},"skills_sh_url":"https://skills.sh/membranedev/application-skills/api-ninjas"},"updatedAt":"2026-04-28T18:57:34.569Z"}}