Local Schema Generator avatar

Local Schema Generator

Pricing

from $0.01 / 1,000 results

Go to Apify Store
Local Schema Generator

Local Schema Generator

Generate Schema.org JSON-LD structured data to improve search visibility & enable rich results. Structured data helps search engines understand your business. Stars, hours & contact info in search results, improved business information display, better answers for voice assistants, enhanced local SEO

Pricing

from $0.01 / 1,000 results

Rating

0.0

(0)

Developer

The Howlers

The Howlers

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

0

Monthly active users

a day ago

Last modified

Share

Local Schema Generator v1.0

Generate Schema.org JSON-LD structured data for local businesses. Boost your local SEO with proper structured data markup.


Quick Start

Test with Demo Mode (free, no API key needed)

{
"demoMode": true,
"businessName": "John's Plumbing & HVAC",
"businessType": "Plumber",
"streetAddress": "123 Main Street",
"city": "Dallas",
"state": "TX",
"zipCode": "75001",
"phone": "(214) 555-1234",
"hours": {
"monday": "8am-6pm",
"tuesday": "8am-6pm",
"wednesday": "8am-6pm",
"thursday": "8am-6pm",
"friday": "8am-6pm",
"saturday": "9am-2pm",
"sunday": "closed"
},
"aggregateRating": {
"ratingValue": 4.8,
"reviewCount": 127
},
"logoUrl": "https://example.com",
"imageUrl": "https://example.com",
"facebookUrl": "https://example.com",
"twitterUrl": "https://example.com",
"instagramUrl": "https://example.com",
"linkedinUrl": "https://example.com",
"yelpUrl": "https://example.com"
}

Run with real data

{
"demoMode": false,
"businessName": "John's Plumbing & HVAC",
"businessType": "Plumber",
"streetAddress": "123 Main Street",
"city": "Dallas",
"state": "TX",
"zipCode": "75001",
"country": "US",
"phone": "(214) 555-1234",
"hours": {
"monday": "8am-6pm",
"tuesday": "8am-6pm",
"wednesday": "8am-6pm",
"thursday": "8am-6pm",
"friday": "8am-6pm",
"saturday": "9am-2pm",
"sunday": "closed"
},
"aggregateRating": {
"ratingValue": 4.8,
"reviewCount": 127
},
"logoUrl": "https://example.com",
"imageUrl": "https://example.com",
"facebookUrl": "https://example.com",
"twitterUrl": "https://example.com",
"instagramUrl": "https://example.com",
"linkedinUrl": "https://example.com",
"yelpUrl": "https://example.com",
"includeOrganization": true,
"includeLocalBusiness": true,
"includeWebSite": true,
"includeBreadcrumb": false,
"includeFAQPage": false,
"includeService": false,
"outputFormat": "both",
"minify": false
}

Input Parameters

ParameterTypeDefaultRequiredDescription
businessNamestring-NoYour official business name
businessTypestring-NoType of business (e.g., 'Plumber', 'Restaurant', 'Dentist') - auto-mapped to schema.org type
streetAddressstring-NoBusiness street address
citystring-NoCity name
statestring-NoState/region code
zipCodestring-NoZIP or postal code
countrystring"US"NoCountry code (default: US)
phonestring-NoPrimary business phone
websitestring-NoYour business website
emailstring-NoBusiness email address
descriptionstring-NoBrief description of your business (recommended: 150-300 characters)
latitudenumber-NoGPS latitude coordinate
longitudenumber-NoGPS longitude coordinate
hoursobject-NoOperating hours for each day (e.g., '9am-5pm' or '09:00-17:00')
priceRangestring-NoPrice range indicator (e.g., '$', '$$', '$$$')
aggregateRatingobject-NoOverall business rating
logoUrlstring-NoURL to your business logo (min 112x112px)
imageUrlstring-NoURL to your main business image
facebookUrlstring-NoFacebook business page URL
twitterUrlstring-NoTwitter/X profile URL
instagramUrlstring-NoInstagram profile URL
linkedinUrlstring-NoLinkedIn company page URL
yelpUrlstring-NoYelp business page URL
includeOrganizationbooleantrueNoGenerate Organization schema in addition to LocalBusiness
includeLocalBusinessbooleantrueNoGenerate LocalBusiness schema (recommended)
includeWebSitebooleantrueNoGenerate WebSite schema with search action
includeBreadcrumbbooleanfalseNoGenerate BreadcrumbList schema
includeFAQPagebooleanfalseNoGenerate FAQPage schema (requires FAQs)
faqsarray-NoQuestions and answers for FAQ schema
includeServicebooleanfalseNoGenerate Service/OfferCatalog schema (requires services)
servicesarray-NoList of services for Service schema
outputFormatstring"both"NoHow to format the output
minifybooleanfalseNoRemove whitespace from JSON output
demoModebooleantrueNoRun in demo mode without real credentials. Returns mock success response for testing.
webhookUrlstring-NoOptional URL to receive results via POST request when actor completes

Pricing

This actor uses pay-per-event billing:

EventDescriptionPrice
Schema GeneratedEach structured data schema generated$0.02

Demo mode is free -- no charges for sample data.


Troubleshooting

"API error 429" or "Rate limit"

Too many requests. Wait a minute and try again, or reduce the number of items per run.

No results or empty dataset

Check the run log for error messages. Common causes:

  • Invalid input format (check the examples above)
  • The target data doesn't exist or is too small to track

How do I test without an API key?

Enable Demo Mode in the input. This returns realistic sample data so you can verify the output format works for your workflow.


Built by John Rippy | Actor Arsenal