The API endpoint allows a logged-in user to fetch their social media profile.When the user is authenticated and authorized, accessing this endpoint will return the user's social media profile information, such as their username, bio, avatar, cover image, and other relevant details.

https://api.freeapi.app/api/v1/social-media/profile

Example-> JSON data

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 { "data": { "__v": 0, "_id": "64a3c6f3f867b3375720a5f4", "account": { "_id": "64a3c6f3f867b3375720a548", "avatar": { "_id": "64a3c6f3f867b3375720a549", "localPath": "", "url": "https://cloudflare-ipfs.com/ipfs/Qmd3W5DuhgHirLHGVixi6V76LhCkZUz6pnFt5AJBiyvHye/avatar/1230.jpg" }, "email": "cindy.konopelski@yahoo.com", "isEmailVerified": true, "username": "cooper55" }, "bio": "steam enthusiast, foodie 🇵🇫", "countryCode": "+91", "coverImage": { "_id": "64a3c6f3f867b3375720a5f3", "localPath": "", "url": "https://via.placeholder.com/800x450.png" }, "createdAt": "2023-07-04T07:14:59.923Z", "dob": "2020-09-27T10:32:43.090Z", "firstName": "Brice", "followersCount": 15, "followingCount": 21, "isFollowing": false, "lastName": "Kassulke", "location": "Reingerton, Jamaica", "owner": "64a3c6f3f867b3375720a548", "phoneNumber": "9225118426", "updatedAt": "2023-07-04T07:15:00.777Z" }, "message": "User profile fetched successfully", "statusCode": 200, "success": true }

The API endpoint allows users to fetch another user's social media profile based on the username provided as a path variable.By accessing this endpoint and providing the username as a parameter, you will receive a response containing the social media profile information of the specified user.

https://api.freeapi.app/api/v1/social-media/profile/u/rosanna_krajcik51

Example-> JSON data

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 { "data": { "__v": 0, "_id": "649fe0cfc4a9507d1220ec24", "account": { "_id": "649fe0cec4a9507d1220eb68", "avatar": { "_id": "649fe0cec4a9507d1220eb69", "localPath": "", "url": "https://cloudflare-ipfs.com/ipfs/Qmd3W5DuhgHirLHGVixi6V76LhCkZUz6pnFt5AJBiyvHye/avatar/97.jpg" }, "email": "marietta_hoeger59@gmail.com", "isEmailVerified": true, "username": "joey_boyle24" }, "bio": "squirrel advocate, person 🧊", "countryCode": "+91", "coverImage": { "_id": "649fe0cfc4a9507d1220ec23", "localPath": "", "url": "https://via.placeholder.com/800x450.png" }, "createdAt": "2023-07-01T08:16:15.061Z", "dob": "2014-01-31T01:46:29.852Z", "firstName": "Arjun", "followersCount": 17, "followingCount": 18, "isFollowing": false, "lastName": "Turcotte", "location": "Fort Lizatown, Comoros", "owner": "649fe0cec4a9507d1220eb68", "phoneNumber": "9240836201", "updatedAt": "2023-07-01T08:16:15.847Z" }, "message": "User profile fetched successfully", "statusCode": 200, "success": true }