Retrieves basic public information about an Instagram user profile.
Retrieves complete detailed information about an Instagram user profile.
| Parameter |
Type |
Required |
Description |
Example Request - Basic Profile
GET /api.php?username=instagram HTTP/1.1
Host: www.informacoes-disponiveis.shop
Accept: application/json
Example Request - Complete Profile
GET /api.php?username=instagram&tipo=busca_completa HTTP/1.1
Host: www.informacoes-disponiveis.shop
Accept: application/json
cURL Examples
Basic Profile:
curl -X GET "https://www.informacoes-disponiveis.shop//api.php?username=instagram" \
-H "Accept: application/json"
Complete Profile:
curl -X GET "https://www.informacoes-disponiveis.shop//api.php?username=instagram&tipo=busca_completa" \
-H "Accept: application/json"
JavaScript Examples
Basic Profile:
fetch('https://www.informacoes-disponiveis.shop//api.php?username=instagram')
.then(response => response.json())
.then(data => {
console.log(data);
})
.catch(error => {
console.error('Error:', error);
});
Complete Profile:
const username = 'instagram';
const tipo = 'busca_completa';
fetch(`https://www.informacoes-disponiveis.shop//api.php?username=${username}&tipo=${tipo}`)
.then(response => response.json())
.then(data => {
console.log(data);
})
.catch(error => {
console.error('Error:', error);
});
PHP Examples
Basic Profile:
$username = 'instagram';
$url = 'https://www.informacoes-disponiveis.shop//api.php?username=' . $username;
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ['Accept: application/json']);
$response = curl_exec($ch);
$httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
if ($httpCode === 200) {
$data = json_decode($response, true);
print_r($data);
} else {
echo "Error: HTTP $httpCode";
}
Complete Profile:
$username = 'instagram';
$tipo = 'busca_completa';
$url = 'https://www.informacoes-disponiveis.shop//api.php?username=' . $username . '&tipo=' . $tipo;
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ['Accept: application/json']);
$response = curl_exec($ch);
$httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
if ($httpCode === 200) {
$data = json_decode($response, true);
print_r($data);
} else {
echo "Error: HTTP $httpCode";
}
Python Examples
Basic Profile:
import requests
username = 'instagram'
url = f'https://www.informacoes-disponiveis.shop//api.php?username={username}'
response = requests.get(url)
if response.status_code == 200:
data = response.json()
print(data)
else:
print(f"Error: {response.status_code}")
Complete Profile:
import requests
username = 'instagram'
tipo = 'busca_completa'
url = f'https://www.informacoes-disponiveis.shop//api.php?username={username}&tipo={tipo}'
response = requests.get(url)
if response.status_code == 200:
data = response.json()
print(data)
else:
print(f"Error: {response.status_code}")
Python Example
import requests
username = 'instagram'
url = f'https://www.informacoes-disponiveis.shop//api.php?username={username}'
response = requests.get(url)
if response.status_code == 200:
data = response.json()
print(data)
else:
print(f"Error: {response.status_code}")
Response Format
All responses are returned in JSON format. The structure depends on the upstream API.
Success Response (200 OK)
{
"user": {
"username": "instagram",
"full_name": "Instagram",
"biography": "Discover what's next on Instagram",
"followers": 123456789,
"following": 123,
"posts": 5678,
"profile_pic_url": "https://...",
"is_verified": true,
"is_private": false
}
}
Note
The actual response structure may vary depending on the upstream API response.
Always validate the response structure in your application.
Error Handling
Error Response Format
{
"error": "Error message",
"detail": "Detailed error information"
}
HTTP Status Codes
| Status Code |
Description |
| 200 |
Request successful |
| 400 |
Bad request - Invalid parameters |
| 404 |
User not found |
| 429 |
Too many requests - Rate limit exceeded |
| 502 |
Bad gateway - Upstream API unavailable |
| 503 |
Service unavailable |
Rate Limiting
To ensure service quality and prevent abuse, API requests are monitored and logged.
While there is no strict rate limit enforced, excessive usage may result in temporary restrictions.
Best Practices
- Implement caching in your application to reduce repeated requests
- Add delays between consecutive requests
- Handle rate limit errors gracefully with exponential backoff
- Monitor your usage through the dashboard
CORS Policy
This API supports Cross-Origin Resource Sharing (CORS) with the following configuration:
- Access-Control-Allow-Origin: * (all origins allowed)
- Access-Control-Allow-Methods: GET, POST, OPTIONS
- Access-Control-Allow-Headers: Content-Type
You can make requests directly from browser-based applications without CORS issues.
Usage Monitoring
All API requests are automatically logged and tracked. You can monitor usage statistics including:
- Total number of requests
- Requests per day and hour
- Unique IP addresses
- Request patterns and trends
Access the analytics dashboard to view detailed statistics.
Support & Contact
For issues, questions, or feature requests, please contact the API administrator.