Request for API Information to Fetch Blog Metadata
Hi Team,
I’m currently working on a feature that requires dynamically fetching blog post metadata (title, description, and image) to display in a card layout on the front-end. I would like to request some information regarding any available APIs or endpoints that can provide this data based on the blog URLs.
Specifically, I’m looking for:
- API endpoints that return blog post metadata (title, image, description) when given a blog URL.
- Any documentation on how to authenticate or access this API.
- Example requests/responses for fetching blog metadata.
If we don't have an API available for this, do we have another mechanism (like OpenGraph data extraction) or a way to expose blog metadata in a structured format?
Any guidance or suggestions would be greatly appreciated!
Thanks in advance for your help.
Best, 12
5 条回复
We have API support for your use case in Discuss Kit, but it has not been documented yet.
thank you. I’m essentially trying to replicate the discuss lit blog component.
ive kind of got it already, but it’s not automated enough.
Hi, can you checkout following official component to display blog list:
DiscussKit Components
I'm running this right now in my app. However it seems easy enough to make myself a custom one using the API.
We've just released new APIs for fetching post metadata in the latest version (v2.1.18) of DiscussKit:
GET /api/v1/sdk/posts: Fetch a list of postsGET /api/v1/sdk/posts/{id}: Fetch metadata for a specific post by IDTo explore and test these APIs, we recommend installing the Swagger UI Blocklet, which is available in the test/dev store. This will provide you with interactive documentation and a testing interface.
Feel free to reach out to us if you encounter any issues. Thanks!