{"openapi":"3.2.0","info":{"title":"Reddit COM API","description":"Real-time data, unofficial API reddit.com","version":"1.0.0"},"servers":[{"url":"https://iqjvp.jojapi.net"}],"security":[{"ApiKeyAuth":[]}],"tags":[{"name":"Posts"},{"name":"Subreddit"}],"paths":{"/auto-complete":{"get":{"operationId":"get_auto_complete","summary":"auto-complete","description":"auto-complete","parameters":[{"name":"query","in":"query","description":"- Required: true\n- Ex: `gaming`","required":false,"schema":{"type":"string","title":"query","example":"gaming"}},{"name":"limit","in":"query","description":"- Limit\n\n- Default: `5`\n\n- The `limit` has a value from 1 to 10","required":false,"schema":{"type":"string","title":"Limit"}},{"name":"nsfw","in":"query","description":"- Whether to retrieve content that is not safe for work (e.g., 18+ content)\n- Default: `false`\n- The `true` is yes, the `false` is no","required":false,"schema":{"type":"string"}}]}},"/search-communities":{"get":{"operationId":"get_search_communities","summary":"search-communities","description":"search-communities","parameters":[{"name":"query","in":"query","description":"- Required: true\n- Ex: `gaming`","required":false,"schema":{"type":"string","example":"gaming"}},{"name":"nextPage","in":"query","description":"- The page index, for paging purpose\n- Leave it blank for the first time\n- The `nextPage` can be retrieved from response of this endpoint(meta->nextPage)\n- Ex: `MjQ=`","required":false,"schema":{"type":"string"}},{"name":"nsfw","in":"query","description":"- Whether to retrieve content that is not safe for work (e.g., 18+ content)\n- Default: `false`\n- The `true` is yes, the `false` is no","required":false,"schema":{"type":"string"}}]}},"/search-comments":{"get":{"operationId":"get_search_comments","summary":"search-comments","description":"search-comments","parameters":[{"name":"query","in":"query","description":"- Required: true\n- Ex: `gaming`","required":false,"schema":{"type":"string","example":"gaming"}},{"name":"nextPage","in":"query","description":"- The page index, for paging purpose\n- Leave it blank for the first time\n- The `nextPage` can be retrieved from response of this endpoint(meta->nextPage)\n- Ex: `MjU=`","required":false,"schema":{"type":"string"}},{"name":"sort","in":"query","description":"- Sort by\n- Default: `relevance`\n- Choose one of the values below\n- `relevance`: Relevance\n- `top`: Top\n- `new`: New","required":false,"schema":{"type":"string"}},{"name":"nsfw","in":"query","description":"- Whether to retrieve content that is not safe for work (e.g., 18+ content)\n- Default: `false`\n- The `true` is yes, the `false` is no","required":false,"schema":{"type":"string"}}]}},"/search-media":{"get":{"operationId":"get_search_media","summary":"search-media","description":"search-media","parameters":[{"name":"query","in":"query","description":"- Required: true\n- Ex: `gaming`","required":false,"schema":{"type":"string","example":"gaming"}},{"name":"nextPage","in":"query","description":"- The page index, for paging purpose\n- Leave it blank for the first time\n- The `nextPage` can be retrieved from response of this endpoint(meta->nextPage)\n- Ex: `MjQ=`","required":false,"schema":{"type":"string"}},{"name":"sort","in":"query","description":"- Sort by\n- Default: `relevance`\n- Choose one of the values below\n- `relevance`: Relevance\n- `hot`: Hot\n- `top`: Top\n- `new`: New\n- `comments`: Comment count","required":false,"schema":{"type":"string"}},{"name":"time","in":"query","description":"- Time\n- Default: `all`\n- Choose one of the values below\n- `all`: All time\n- `year`: Past year\n- `month`: Past month\n- `week`: Past week\n- `day`: Today\n- `hour`: Past hour","required":false,"schema":{"type":"string"}},{"name":"nsfw","in":"query","description":"- Whether to retrieve content that is not safe for work (e.g., 18+ content)\n- Default: `false`\n- The `true` is yes, the `false` is no","required":false,"schema":{"type":"string"}}]}},"/search-people":{"get":{"operationId":"get_search_people","summary":"search-people","description":"search-people","parameters":[{"name":"query","in":"query","description":"- Required: true\n- Ex: `gaming`","required":false,"schema":{"type":"string","example":"gaming"}},{"name":"nextPage","in":"query","description":"- The page index, for paging purpose\n- Leave it blank for the first time\n- The `nextPage` can be retrieved from response of this endpoint(meta->nextPage)\n- Ex: `MjQ=`","required":false,"schema":{"type":"string"}},{"name":"nsfw","in":"query","description":"- Whether to retrieve content that is not safe for work (e.g., 18+ content)\n- Default: `false`\n- The `true` is yes, the `false` is no","required":false,"schema":{"type":"string"}}]}},"/posts/search-posts":{"get":{"operationId":"get_posts_search_posts","summary":"posts/search-posts","description":"posts/search-posts","tags":["Posts"],"parameters":[{"name":"query","in":"query","description":"- Required: true\n- Ex: `gaming`","required":false,"schema":{"type":"string","example":"gaming"}},{"name":"nextPage","in":"query","description":"- The page index, for paging purpose\n- Leave it blank for the first time\n- The `nextPage` can be retrieved from response of this endpoint(meta->nextPage)\n- Ex: `MjQ=`","required":false,"schema":{"type":"string"}},{"name":"sort","in":"query","description":"- Sort by\n- Default: `relevance`\n- Choose one of the values below\n- `relevance`: Relevance\n- `hot`: Hot\n- `top`: Top\n- `new`: New\n- `comments`: Comment count","required":false,"schema":{"type":"string"}},{"name":"time","in":"query","description":"- Time\n- Default: `all`\n- Choose one of the values below\n- `all`: All time\n- `year`: Past year\n- `month`: Past month\n- `week`: Past week\n- `day`: Today\n- `hour`: Past hour","required":false,"schema":{"type":"string"}},{"name":"nsfw","in":"query","description":"- Whether to retrieve content that is not safe for work (e.g., 18+ content)\n- Default: `false`\n- The `true` is yes, the `false` is no","required":false,"schema":{"type":"string"}}]}},"/posts/comments":{"get":{"operationId":"get_posts_comments","summary":"posts/comments","description":"posts/comments","tags":["Posts"],"parameters":[{"name":"postId","in":"query","description":"- Required: true\n- The `postId` can be retrieved from /posts/search-posts (data->id)\n- Ex: `t3_178zwq0`","required":false,"schema":{"type":"string","example":"t3_178zwq0"}},{"name":"sort","in":"query","description":"- Sort by\n- Default: `CONFIDENCE`\n- Choose one of the values below\n- `confidence`: Best\n- `top`: Top\n- `new`: New\n- `controversial`: Controversial\n- `old`: Old\n- `qa`: Q&A","required":false,"schema":{"type":"string"}}]}},"/subreddit/search":{"get":{"operationId":"get_subreddit_search","summary":"subreddit/search","description":"subreddit/search","tags":["Subreddit"],"parameters":[{"name":"query","in":"query","description":"- Required: true\n- Ex: `gaming`","required":false,"schema":{"type":"string","example":"gaming"}},{"name":"nextPage","in":"query","description":"- The page index, for paging purpose\n- Leave it blank for the first time\n- The `nextPage` can be retrieved from response of this endpoint(meta->nextPage)\n- Ex: `dDNfZXJ4dXdt`","required":false,"schema":{"type":"string"}},{"name":"sort","in":"query","description":"- Sort by\n- Default: `top`\n- Choose one of the values below\n- `hot`: Hot\n- `new`: New\n- `top`: Top\n- `controversial`: Controversial\n- `rising`: Rising","required":false,"schema":{"type":"string"}},{"name":"time","in":"query","description":"- Time\n- Default: `all`\n- Choose one of the values below\n- `all`: All time\n- `hour`: Past hour\n- `day`: Past 24 hours\n- `week`: Past week\n- `month`: Past month\n- `year`: Past year","required":false,"schema":{"type":"string"}}]}},"/subreddit/comments":{"get":{"operationId":"get_subreddit_comments","summary":"subreddit/comments","description":"subreddit/comments","tags":["Subreddit"],"parameters":[{"name":"groupId","in":"query","description":"- Required: true\n- Ex: `t3_54z4f7`","required":false,"schema":{"type":"string","example":"t3_54z4f7"}},{"name":"nextPage","in":"query","description":"- The page index, for paging purpose\n- Leave it blank for the first time\n- The `nextPage` can be retrieved from response of this endpoint(meta->nextPage)\n- Ex: `dDNfZXJ4dXdt`","required":false,"schema":{"type":"string"}},{"name":"sort","in":"query","description":"- Sort by\n- Default: `confidence`\n- Choose one of the values below\n- `confidence`: Best\n- `top`: Top\n- `new`: New\n- `controversial`: Controversial\n- `old`: Old\n- `qa`: Q&A","required":false,"schema":{"type":"string"}}]}},"/subreddit/awarding-totals":{"get":{"operationId":"get_subreddit_awarding_totals","summary":"subreddit/awarding-totals","description":"subreddit/awarding-totals","tags":["Subreddit"],"parameters":[{"name":"groupId","in":"query","description":"- Required: true\n- Ex: `t3_54z4f7`","required":false,"schema":{"type":"string","example":"t3_54z4f7"}}]}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-JoJAPI-Key","description":"Your JoJ API key."}}}}