Public communities, posts, comments and search.
Subreddit 게시물
하나의 subreddit 게시물 스트림을 페이지 이동용 after 토큰과 함께 반환합니다. 게시물에는 get_reddit_search와 같은 필드가 있으며 title, author, selftext, score, ups, upvote_ratio, num_comments, created_utc, created_at_iso, url, permalink, subreddit_subscribers가 포함됩니다. sort는 best, hot, new, top, rising을 허용합니다. 중요: timeframe은 sort=top과 함께일 때만 허용되며, 다른 조합은 매개변수를 무시하지 않고 400을 반환합니다. subreddit 이름은 대소문자를 구분합니다. 같은 subreddit 내부를 검색하려면 get_reddit_subreddit_search를, 메타데이터는 get_reddit_subreddit_details를 사용하세요.
가격 참고
- 과금 기준: 측정된 결과 수.
- 참고 요청 추정치: USD 0.00188.
- 참고 고객 배수: 1.0. 정산된 고객 금액에 다시 적용하지 마세요.
참고용 메타데이터일 뿐이며, 계정 견적 또는 보장된 가격 또는 지출 한도가 아닙니다. 리소스 크레딧은 Felo 크레딧이 아닙니다. 최종 청구는 Felo 청구 기록을 따릅니다.
- 유형: stringafter
- 유형: stringcache
_max _age - 유형: stringsort
- 유형: stringsubreddit
- 유형: stringtimeframe
- 유형: stringtrim
- 유형: object · Response799D183Abaf0_RedditPostsResponse200
성공 응답
- 유형: string | nullafter
- 유형: integercredits
_remaining Integer numbers.
- 유형: string | nullcursor
- 유형: array object[] · Response799D183Abaf0_RedditPost[]posts
- property유형: anything
Name
- 유형: booleansuccess
- 유형: anythingproperty
Name
application/json - 400
요청을 처리할 수 없습니다. 요청 매개변수를 확인하세요.
- 401
유효한 Felo API 키가 필요합니다.
- 402
청구 요건이 충족되지 않아 요청을 진행할 수 없습니다.
- 403
이 계정에는 이 작업을 수행할 권한이 없습니다.
- 429
요청 또는 지출 한도에 도달했습니다.
- 502
서비스가 요청을 완료할 수 없습니다.
- 503
API 또는 청구 서비스를 일시적으로 사용할 수 없습니다.
- 504
요청을 처리하는 동안 서비스 시간이 초과되었습니다.
- default
오류 응답. 업스트림 패스스루 응답은 공급자 형식을 사용할 수 있습니다.
application/json
curl https://openapi.felo.ai/v1/beta/reddit/subreddit \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"posts": [
{
"id": "1lfbo7u",
"author": "Vetro_Nodulare2",
"author_fullname": "t2_16syu27ar1",
"subreddit": "AskReddit",
"title": "What is a thing you love that lots of people hate?",
"downs": 0,
"name": "t3_1lfbo7u",
"upvote_ratio": 0.9,
"ups": 45,
"total_awards_received": 0,
"score": 45,
"created": 1750341959,
"num_comments": 349,
"url": "https://www.reddit.com/r/AskReddit/comments/1lfbo7u/what_is_a_thing_you_love_that_lots_of_people_hate/",
"subreddit_subscribers": 56146328,
"is_video": false,
"created_utc": 1750341959
}
],
"after": "t3_1lfogps"
}