
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
npm i majidapi --save
const {instagram} = require("majidapi/modules/social");
// Download with link
instagram({
method: "download",
url: "(Post-Reels-Story-Profile-Highlight) URL"
}).then(console.log);
// Download profile
instagram({
method: "profile",
username: "instagram"
}).then(console.log);
// Download stories
instagram({
method: "stories",
username: "instagram"
}).then(console.log);
// Download highlights
instagram({
method: "highlights",
username: "instagram"
}).then(console.log);
// Download highlight
instagram({
method: "highlight",
highlightId: "highlight:id"
}).then(console.log);
const {gpt} = require("majidapi/modules/ai");
// GPT 3.5 turbo
gpt({
question: "hello how are you?"
}).then(console.log);
const {tts} = require("majidapi/modules/tools");
// Text To Speech
tts({
gender: "woman", // woman - man
text: "Your text ..."
}).then(console.log);
const {tiktok} = require("majidapi/modules/social");
// Download
tiktok({
method: "download",
url: "TikTok url ..."
}).then(console.log);
// Profile
tiktok({
method: "profile",
username: "Username of TikTok user"
}).then(console.log);
const {numberBook} = require("majidapi/modules/inquiry");
// Number Book
numberBook({
phoneNumber: "mobile number"
}).then(console.log);
const {card, sheba} = require("majidapi/modules/inquiry");
// Card number inquiry
card({
cardNumber: "16-digit card number"
}).then(console.log);
// Sheba number inquiry
sheba({
sheba: "IR000000000000000000000000"
}).then(console.log);
const {digikala} = require("majidapi/modules/shopping");
// Home
digikala({
method: "home"
}).then(console.log);
// Categories
digikala({
method: "categories"
}).then(console.log);
// Receive by category
digikala({
method: "category",
categoryId: "1",
page: 1
}).then(console.log);
// Search
digikala({
method: "search",
search: "s25", // product name
page: 1
}).then(console.log);
// Product specifications
digikala({
method: "product",
productId: "Product ID"
}).then(console.log);
const {torob} = require("majidapi/modules/shopping");
// Categories
torob({
method: "categories"
}).then(console.log);
// Receive by category
torob({
method: "category",
categoryId: "1",
page: 1
}).then(console.log);
// Search
torob({
method: "search",
search: "s25", // product name
page: 1
}).then(console.log);
// Product specifications
torob({
method: "product",
productId: "Product ID"
}).then(console.log);
const {akharinKhabar} = require("majidapi/modules/news");
// Categories
akharinKhabar({
method: "categories"
}).then(console.log);
// Receive by category
akharinKhabar({
method: "category",
categoryId: "0",
page: 1
}).then(console.log);
// Latest news
akharinKhabar({
method: "latest",
page: 1
}).then(console.log);
// Description of the news
akharinKhabar({
method: "details",
newsId: "News ID"
}).then(console.log);
const {filmRail} = require("majidapi/modules/movie");
// Home page information
filmRail({
method: "home"
}).then(console.log);
// Get the list of movies
filmRail({
method: "movies",
page: 1
}).then(console.log);
// Get the list of series
filmRail({
method: "series",
page: 1
}).then(console.log);
// Search for movies and series
filmRail({
method: "search",
search: "The name of the movie or series"
}).then(console.log);
// Specifications and download
filmRail({
method: "details",
id: "Movie ID"
}).then(console.log);
const {melodify} = require("majidapi/modules/music");
// The latest
melodify({
method: "newest",
page: 1
}).then(console.log);
// Mixes
melodify({
method: "mix",
page: 1
}).then(console.log);
// The most popular
melodify({
method: "popular",
page: 1
}).then(console.log);
// Instagram trends
melodify({
method: "instatrend",
page: 1
}).then(console.log);
// Song search
melodify({
method: "search",
search: "song name",
page: 1
}).then(console.log);
// Download
melodify({
method: "download",
trackId: "Track ID",
out: "track.mp3"
}).then(console.log);
const {bonbast} = require("majidapi/modules/price");
// Bonbast
bonbast().then(console.log);
const {gold} = require("majidapi/modules/price");
// Gold
gold().then(console.log);
const {mobile} = require("majidapi/modules/price");
// Mobile
mobile({
model: "s25"
}).then(console.log);
const {tempMail} = require("majidapi/modules/tools");
// Create a new email
tempMail({
method: "new"
}).then(console.log);
// Receive messages
tempMail({
method: "messages",
email: "The email address you got from the 'new' method"
}).then(console.log);
const {spotify} = require("majidapi/modules/music");
// Download from Spotify
spotify({
url: "https://open.spotify.com/track/...",
out: "track.mp3"
}).then(console.log);
const {car} = require("majidapi/modules/price");
// Price list
car({
method: "list"
}).then(console.log);
// Get the description
car({
method: "info",
id: "Car ID"
}).then(console.log);
const {bitpin} = require("majidapi/modules/price");
// Get rates
bitpin().then(console.log);
const {qrcode} = require("majidapi/modules/tools");
// QRCode
qrcode({
text: "Hello",
size: 512,
out: "qrcode.png"
}).then(console.log);
const {pinterest} = require("majidapi/modules/social");
// Search
pinterest({
method: "search",
search: "Mobile"
}).then(console.log);
// Download Video
pinterest({
method: "download",
url: "https://pin.it/..."
}).then(console.log);
const {googleTranslate} = require("majidapi/modules/tools");
// Translate
googleTranslate({
text: "سلام",
to: "en"
}).then(console.log);
const {fal} = require("majidapi/modules/fun");
fal({
type: "text" // text or photo
}).then(console.log);
const {joke} = require("majidapi/modules/fun");
joke().then(console.log);
const {ePhoto} = require("majidapi/modules/image");
// Making a logo
ePhoto({
text: "MajidAPI"
}).then(console.log);
const {x} = require("majidapi/modules/social");
// Download
x({
videoUrl: "x.com video url"
}).then(console.log);
const {googlePlay} = require("majidapi/modules/googlePlay");
// Search
googlePlay({
method: "search",
search: "vpn"
}).then(console.log);
// Download
googlePlay({
method: "download",
search: "Google play app url"
}).then(console.log);
const {aparat} = require("majidapi/modules/vide");
// Home
aparat({
method: "home"
}).then(console.log);
// Categories
aparat({
method: "categories"
}).then(console.log);
// Category
aparat({
method: "category",
catid: "Category ID",
page: 1
}).then(console.log);
// Search
aparat({
method: "search",
search: "Music"
}).then(console.log);
// Info & Download
aparat({
method: "download",
uid: "Video ID (uid)"
}).then(console.log);
const {weather} = require("majidapi/modules/tools");
// Weather
weather({
city: "tehran"
}).then(console.log);
FAQs
Majid API - WebServices
The npm package majidapi receives a total of 13 weekly downloads. As such, majidapi popularity was classified as not popular.
We found that majidapi demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.